main.py (2923:db8a876258df) main.py (2967:8a4b45041da9)
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

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

241
242 if options.verbose >= 0:
243 print "M5 Simulator System"
244 print brief_copyright
245 print
246 print "M5 compiled %s" % cc_main.cvar.compileDate;
247 print "M5 started %s" % datetime.now().ctime()
248 print "M5 executing on %s" % socket.gethostname()
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

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

241
242 if options.verbose >= 0:
243 print "M5 Simulator System"
244 print brief_copyright
245 print
246 print "M5 compiled %s" % cc_main.cvar.compileDate;
247 print "M5 started %s" % datetime.now().ctime()
248 print "M5 executing on %s" % socket.gethostname()
249 print "command line:",
250 for argv in sys.argv:
251 print argv,
252 print
249
250 # check to make sure we can find the listed script
251 if not arguments or not os.path.isfile(arguments[0]):
252 if arguments and not os.path.isfile(arguments[0]):
253 print "Script %s not found" % arguments[0]
254 usage(2)
255
256 # tell C++ about output directory

--- 67 unchanged lines hidden ---
253
254 # check to make sure we can find the listed script
255 if not arguments or not os.path.isfile(arguments[0]):
256 if arguments and not os.path.isfile(arguments[0]):
257 print "Script %s not found" % arguments[0]
258 usage(2)
259
260 # tell C++ about output directory

--- 67 unchanged lines hidden ---