diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-11-22 05:10:17 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-11-22 05:10:17 -0500 |
commit | 6adb728fb4238992e5f07ca5db1f9c0aac30df6a (patch) | |
tree | 35b7c00750125e62c676ef22cef995cd09c9e741 /util/dram_sweep_plot.py | |
parent | 949437d559bcb0d40f6fe4fa81984a2467b7b52f (diff) | |
download | gem5-6adb728fb4238992e5f07ca5db1f9c0aac30df6a.tar.xz |
config: Minor fixes to the DRAM utilisation sweep
Diffstat (limited to 'util/dram_sweep_plot.py')
-rwxr-xr-x | util/dram_sweep_plot.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util/dram_sweep_plot.py b/util/dram_sweep_plot.py index 8a752127c..f3fc32960 100755 --- a/util/dram_sweep_plot.py +++ b/util/dram_sweep_plot.py @@ -38,10 +38,8 @@ # Authors: Andreas Hansson try: - from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm - from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt import numpy as np except ImportError: @@ -74,13 +72,13 @@ def main(): try: stats = open(sys.argv[2] + '/stats.txt', 'r') except IOError: - print "Failed to open ", sys.argv[1] + '/stats.txt', " for reading" + print "Failed to open ", sys.argv[2] + '/stats.txt', " for reading" exit(-1) try: simout = open(sys.argv[2] + '/simout', 'r') except IOError: - print "Failed to open ", sys.argv[1] + '/simout', " for reading" + print "Failed to open ", sys.argv[2] + '/simout', " for reading" exit(-1) # Get the burst size, number of banks and the maximum stride from |