main.py (10758:74e7b9b5029c) | main.py (11161:15492f220f16) |
---|---|
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 --- 277 unchanged lines hidden (view full) --- 286 print "gem5 Simulator System. http://gem5.org" 287 print brief_copyright 288 print 289 290 print "gem5 compiled %s" % defines.compileDate; 291 292 print "gem5 started %s" % \ 293 datetime.datetime.now().strftime("%b %e %Y %X") | 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 --- 277 unchanged lines hidden (view full) --- 286 print "gem5 Simulator System. http://gem5.org" 287 print brief_copyright 288 print 289 290 print "gem5 compiled %s" % defines.compileDate; 291 292 print "gem5 started %s" % \ 293 datetime.datetime.now().strftime("%b %e %Y %X") |
294 print "gem5 executing on %s" % socket.gethostname() | 294 print "gem5 executing on %s, pid %d" % \ 295 (socket.gethostname(), os.getpid()) |
295 296 # in Python 3 pipes.quote() is moved to shlex.quote() 297 import pipes 298 print "command line:", " ".join(map(pipes.quote, sys.argv)) 299 print 300 301 # check to make sure we can find the listed script 302 if not arguments or not os.path.isfile(arguments[0]): --- 102 unchanged lines hidden --- | 296 297 # in Python 3 pipes.quote() is moved to shlex.quote() 298 import pipes 299 print "command line:", " ".join(map(pipes.quote, sys.argv)) 300 print 301 302 # check to make sure we can find the listed script 303 if not arguments or not os.path.isfile(arguments[0]): --- 102 unchanged lines hidden --- |