changeset 10a17e8a6d35 in /z/repo/m5 details: http://repo.m5sim.org/m5?cmd=changeset;node=10a17e8a6d35 description: Make time format in 'started' line same as 'compiled'. Also make -B output consistent with normal header, and only include actual build options.
diffstat: 1 file changed, 1 deletion(-) src/python/m5/main.py | 1 - diffs (29 lines): diff -r cdcfaac59d70 -r 10a17e8a6d35 src/python/m5/main.py --- a/src/python/m5/main.py Mon Aug 04 01:45:12 2008 -0400 +++ b/src/python/m5/main.py Mon Aug 04 01:46:46 2008 -0400 @@ -180,8 +180,8 @@ 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,11 +263,11 @@ 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: _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev