summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2008-08-04 01:46:46 -0400
committerSteve Reinhardt <stever@gmail.com>2008-08-04 01:46:46 -0400
commit3448a122085797a902e776f47bfe69a078bfca5e (patch)
tree822389d0bb764c46173794d48afb8b3d6f419cad /src
parent58c63ea8b1f56dd0c33ef3d36f5c6a58ce3f28fe (diff)
downloadgem5-3448a122085797a902e776f47bfe69a078bfca5e.tar.xz
Make time format in 'started' line same as 'compiled'.
Also make -B output consistent with normal header, and only include actual build options.
Diffstat (limited to 'src')
-rw-r--r--src/python/m5/main.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/python/m5/main.py b/src/python/m5/main.py
index c9b1940dc..1e217715c 100644
--- a/src/python/m5/main.py
+++ b/src/python/m5/main.py
@@ -180,8 +180,8 @@ def main():
print 'Build information:'
print
print 'compiled %s' % internal.core.cvar.compileDate;
- print 'started %s' % datetime.datetime.now().ctime()
- print 'executing on %s' % socket.gethostname()
+ print "revision %s" % internal.core.cvar.hgRev
+ print "commit date %s" % internal.core.cvar.hgDate
print 'build options:'
keys = defines.m5_build_env.keys()
keys.sort()
@@ -263,12 +263,12 @@ def main():
print brief_copyright
print
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 "M5 started %s" % datetime.datetime.now().strftime("%b %e %Y %X")
+ print "M5 executing on %s" % socket.gethostname()
+
print "command line:",
for argv in sys.argv:
print argv,