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:
Kevin O'Connor 2018-11-26 17:37:04 -05:00
parent b8f92c73ed
commit 7699304f9b
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ def parse_log(logname, mcu):
if name in apply_prefix:
name = prefix + name
keyparts[name] = val
if keyparts.get('bytes_write', '0') == '0':
if 'print_time' not in keyparts:
continue
keyparts['#sampletime'] = float(parts[1][:-1])
out.append(keyparts)