diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-09-25 06:45:50 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-09-25 06:45:50 -0400 |
commit | 40fcb59c5440054f43675fd60ad8244c851f5050 (patch) | |
tree | 535ffbc730afb73bd19c7ece1befa09bb50434f3 /util | |
parent | 4647e4e9612c040f84f0e6de6a8d7c8699f89aa2 (diff) | |
download | gem5-40fcb59c5440054f43675fd60ad8244c851f5050.tar.xz |
util: Fix minor issues in DRAM sweep scripts
This patch fixes a few issues in the sweep scripts, bringing them
up-to-date with the latest memory configs and options.
Diffstat (limited to 'util')
-rwxr-xr-x | util/dram_sweep_plot.py | 2 |
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() |