aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-11-26 17:37:04 -0500
committerKevin O'Connor <kevin@koconnor.net>2018-11-26 17:37:04 -0500
commit7699304f9b4301c1dbe07c7304514c0d422b1e06 (patch)
tree1d2788649b14fc0853f8c9c395aa288020b9b027 /scripts
parentb8f92c73ed5bd5fa0f10a2d8eba1263213896834 (diff)
downloadkutter-7699304f9b4301c1dbe07c7304514c0d422b1e06.tar.gz
kutter-7699304f9b4301c1dbe07c7304514c0d422b1e06.tar.xz
kutter-7699304f9b4301c1dbe07c7304514c0d422b1e06.zip
graphstats: Change stats filter to use print_time instead of bytes_write=0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/graphstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/graphstats.py b/scripts/graphstats.py
index 26e6c606..b018bb12 100755
--- a/scripts/graphstats.py
+++ b/scripts/graphstats.py
@@ -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)