diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2004-11-17 00:04:00 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2004-11-17 00:04:00 -0500 |
commit | 62ee766e50ff40bc519bcfda1ad9adfa2a7b6cba (patch) | |
tree | deff5f7f3f73ba32eb224cddaacb3ac8708d9c11 /util/stats | |
parent | 95ce45ade93856d3f3dce6536e297f3b6247b481 (diff) | |
parent | ee962a6b0bf71b9ca8ce0b3cadc17938266fa162 (diff) | |
download | gem5-62ee766e50ff40bc519bcfda1ad9adfa2a7b6cba.tar.xz |
Merge zizzer:/bk/m5 into zed.eecs.umich.edu:/z/hsul/work/m5
--HG--
extra : convert_revision : 3ad33afea5aebe67816f7d4e6b24a43636316ffa
Diffstat (limited to 'util/stats')
-rwxr-xr-x | util/stats/stats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/stats/stats.py b/util/stats/stats.py index 233eab521..8ec889f09 100755 --- a/util/stats/stats.py +++ b/util/stats/stats.py @@ -132,8 +132,6 @@ def commands(options, command, args): info.source.connect() info.source.update_dict(globals()) - system = info.source.__dict__[options.system] - if type(options.get) is str: info.source.get = options.get @@ -232,6 +230,8 @@ def commands(options, command, args): if len(args): raise CommandException + system = info.source.__dict__[options.system] + if command == 'usertime': import copy kernel = copy.copy(system.full_cpu.numCycles) |