mirror of https://github.com/Desuuuu/klipper.git
graphstats: Change stats filter to use print_time instead of bytes_write=0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
b8f92c73ed
commit
7699304f9b
|
@ -43,7 +43,7 @@ def parse_log(logname, mcu):
|
||||||
if name in apply_prefix:
|
if name in apply_prefix:
|
||||||
name = prefix + name
|
name = prefix + name
|
||||||
keyparts[name] = val
|
keyparts[name] = val
|
||||||
if keyparts.get('bytes_write', '0') == '0':
|
if 'print_time' not in keyparts:
|
||||||
continue
|
continue
|
||||||
keyparts['#sampletime'] = float(parts[1][:-1])
|
keyparts['#sampletime'] = float(parts[1][:-1])
|
||||||
out.append(keyparts)
|
out.append(keyparts)
|
||||||
|
|
Loading…
Reference in New Issue