diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-24 11:43:54 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-07-24 11:43:54 -0400 |
commit | 959a20888c2532950e98cff9694377ecef16ae95 (patch) | |
tree | 90895c65ff2ff55b14bd4c1f1371c370d015cd89 /klippy | |
parent | 7bf0ec2fe7ee1d2557946afa602eea378a712091 (diff) | |
download | kutter-959a20888c2532950e98cff9694377ecef16ae95.tar.gz kutter-959a20888c2532950e98cff9694377ecef16ae95.tar.xz kutter-959a20888c2532950e98cff9694377ecef16ae95.zip |
serialhdl: Dump serial stats in dump_debug()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy')
-rw-r--r-- | klippy/serialhdl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/serialhdl.py b/klippy/serialhdl.py index a5a1e5a8..56952330 100644 --- a/klippy/serialhdl.py +++ b/klippy/serialhdl.py @@ -189,6 +189,8 @@ class SerialReader: self.ffi_lib.serialqueue_free_commandqueue) # Dumping debug lists def dump_debug(self): + logging.info("Dumping serial stats: %s" + , self.stats(self.reactor.monotonic())) sdata = self.ffi_main.new('struct pull_queue_message[1024]') rdata = self.ffi_main.new('struct pull_queue_message[1024]') scount = self.ffi_lib.serialqueue_extract_old( |