summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/dram_sweep_plot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/dram_sweep_plot.py b/util/dram_sweep_plot.py
index 347986b20..8a752127c 100755
--- a/util/dram_sweep_plot.py
+++ b/util/dram_sweep_plot.py
@@ -116,7 +116,7 @@ def main():
if match:
peak_bw.append(float(match.groups(0)[0]))
- match = re.match(".*averagePower\s+(\d+\.\d+)\s+#.*", line)
+ match = re.match(".*averagePower\s+(\d+\.?\d*)\s+#.*", line)
if match:
avg_pwr.append(float(match.groups(0)[0]))
stats.close()