Skip to content

Commit

Permalink
Merge pull request #4328 from ktf/fix-add-missing-customize
Browse files Browse the repository at this point in the history
Add missing customize.
  • Loading branch information
ktf committed Jun 20, 2014
2 parents bf66f5e + 687777d commit 00b645f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Validation/Performance/python/TimeMemorySummary.py
Expand Up @@ -11,11 +11,14 @@ def customise(process):

#Add these 3 lines to put back the summary for timing information at the end of the logfile
#(needed for TimeReport report)
if hasattr(process,'options'):
if hasattr(process,"options"):
process.options.wantSummary = cms.untracked.bool(True)
else:
process.options = cms.untracked.PSet(
wantSummary = cms.untracked.bool(True)
)
)

return(process)

def customiseWithTimeMemorySummary(process):
return customise(process)

0 comments on commit 00b645f

Please sign in to comment.