aboutsummaryrefslogtreecommitdiffstats
path: root/compact_pm_ovd.py
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-03-23 12:41:18 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-03-23 12:41:18 -0400
commit9c613968ee815c1f4c32d594ddc67a5cabccce81 (patch)
treec87f375f0372d05ff869692f27459ab5ec086379 /compact_pm_ovd.py
parentb34525e7838d6e513e1ffdcfea5482f6b879d527 (diff)
Add support for plotting multiple types of pm overheads
Diffstat (limited to 'compact_pm_ovd.py')
-rwxr-xr-xcompact_pm_ovd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/compact_pm_ovd.py b/compact_pm_ovd.py
index 5024d61..0a25e0c 100755
--- a/compact_pm_ovd.py
+++ b/compact_pm_ovd.py
@@ -80,7 +80,8 @@ class WSSCompactor():
80 for key in tkeys: 80 for key in tkeys:
81 wstr = str(key) + ', ' 81 wstr = str(key) + ', '
82 for value in self.ovhead_table[str(key)]: 82 for value in self.ovhead_table[str(key)]:
83 wstr += value + ', ' 83 if float(value) > 0:
84 wstr += value + ', '
84 wstr = wstr[0:-2] 85 wstr = wstr[0:-2]
85 csvf.write(wstr + '\n') 86 csvf.write(wstr + '\n')
86 87