main.py (5524:e5fbd38bc828) main.py (5528:10a17e8a6d35)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 166 unchanged lines hidden (view full) ---

175
176 done = False
177
178 if options.build_info:
179 done = True
180 print 'Build information:'
181 print
182 print 'compiled %s' % internal.core.cvar.compileDate;
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 166 unchanged lines hidden (view full) ---

175
176 done = False
177
178 if options.build_info:
179 done = True
180 print 'Build information:'
181 print
182 print 'compiled %s' % internal.core.cvar.compileDate;
183 print 'started %s' % datetime.datetime.now().ctime()
184 print 'executing on %s' % socket.gethostname()
183 print "revision %s" % internal.core.cvar.hgRev
184 print "commit date %s" % internal.core.cvar.hgDate
185 print 'build options:'
186 keys = defines.m5_build_env.keys()
187 keys.sort()
188 for key in keys:
189 val = defines.m5_build_env[key]
190 print ' %s = %s' % (key, val)
191 print
192

--- 65 unchanged lines hidden (view full) ---

258 options.usage(2)
259
260 verbose = options.verbose - options.quiet
261 if options.verbose >= 0:
262 print "M5 Simulator System"
263 print brief_copyright
264 print
265 print "M5 compiled %s" % internal.core.cvar.compileDate;
185 print 'build options:'
186 keys = defines.m5_build_env.keys()
187 keys.sort()
188 for key in keys:
189 val = defines.m5_build_env[key]
190 print ' %s = %s' % (key, val)
191 print
192

--- 65 unchanged lines hidden (view full) ---

258 options.usage(2)
259
260 verbose = options.verbose - options.quiet
261 if options.verbose >= 0:
262 print "M5 Simulator System"
263 print brief_copyright
264 print
265 print "M5 compiled %s" % internal.core.cvar.compileDate;
266 print "M5 started %s" % datetime.datetime.now().ctime()
267 print "M5 executing on %s" % socket.gethostname()
268
269 print "M5 revision %s" % internal.core.cvar.hgRev
270 print "M5 commit date %s" % internal.core.cvar.hgDate
271
266 print "M5 revision %s" % internal.core.cvar.hgRev
267 print "M5 commit date %s" % internal.core.cvar.hgDate
268
269 print "M5 started %s" % datetime.datetime.now().strftime("%b %e %Y %X")
270 print "M5 executing on %s" % socket.gethostname()
271
272 print "command line:",
273 for argv in sys.argv:
274 print argv,
275 print
276
277 # check to make sure we can find the listed script
278 if not arguments or not os.path.isfile(arguments[0]):
279 if arguments and not os.path.isfile(arguments[0]):

--- 89 unchanged lines hidden ---
272 print "command line:",
273 for argv in sys.argv:
274 print argv,
275 print
276
277 # check to make sure we can find the listed script
278 if not arguments or not os.path.isfile(arguments[0]):
279 if arguments and not os.path.isfile(arguments[0]):

--- 89 unchanged lines hidden ---