changeset f67c9be3cd57 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=f67c9be3cd57
description:
stats: fix usage of jobfile
diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
util/stats/stats.py | 5 ++---
diffs (36 lines):
diff -r 11dab30a70e8 -r f67c9be3cd57 util/stats/stats.py
--- a/util/stats/stats.py Wed Jul 01 22:17:06 2009 -0700
+++ b/util/stats/stats.py Thu Jul 02 16:48:21 2009 -0700
@@ -28,7 +28,6 @@
#
# Authors: Nathan Binkert
-from __future__ import division
import re, sys, math
def usage():
@@ -413,7 +412,6 @@
if __name__ == '__main__':
import getpass
- from jobfile import JobFile
options = Options()
options.host = None
@@ -426,7 +424,7 @@
options.graph = False
options.ticks = False
options.printmode = 'G'
- jobfilename = 'Test.py'
+ jobfilename = None
options.jobfile = None
options.all = False
@@ -463,6 +461,7 @@
options.ticks = a
if jobfilename:
+ from jobfile import JobFile
options.jobfile = JobFile(jobfilename)
if not options.host:
options.host = options.jobfile.dbhost
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev