diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2008-06-13 01:09:04 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2008-06-13 01:09:04 -0400 |
commit | 907b28cc626e8b156d98187b0f91f5e8df0e9d56 (patch) | |
tree | 6713cd35ce3c7e49a620c0dd25982c27aec5d5d5 /src/python/m5/main.py | |
parent | 2b4874449ce45504a1759c593a1f9b00983fca01 (diff) | |
download | gem5-907b28cc626e8b156d98187b0f91f5e8df0e9d56.tar.xz |
HG: Add compiled hg revision and date to the standard M5 output.
Diffstat (limited to 'src/python/m5/main.py')
-rw-r--r-- | src/python/m5/main.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py index 4bcca46d2..cbdd65492 100644 --- a/src/python/m5/main.py +++ b/src/python/m5/main.py @@ -268,6 +268,10 @@ def main(): print "M5 compiled %s" % internal.core.cvar.compileDate; print "M5 started %s" % datetime.datetime.now().ctime() print "M5 executing on %s" % socket.gethostname() + + print "M5 revision %s" % internal.core.cvar.hgRev + print "M5 commit date %s" % internal.core.cvar.hgDate + print "command line:", for argv in sys.argv: print argv, |