doubled digits in profile filenames
This commit is contained in:
parent
92acaa949a
commit
a3b9f73b87
|
|
@ -937,7 +937,7 @@ def startProfile(filename=PyUtilProfileDefaultFilename,
|
|||
callInfo=1,
|
||||
cmd='run()'):
|
||||
# uniquify the filename to allow multiple processes to profile simultaneously
|
||||
filename = '%s.%s.%s' % (filename, randUint31(), randUint31())
|
||||
filename = '%s.%s%s' % (filename, randUint31(), randUint31())
|
||||
if PModules.profile is None:
|
||||
import profile
|
||||
PModules.profile = profile
|
||||
|
|
|
|||
Loading…
Reference in New Issue