File indexing completed on 2024-04-06 12:32:56
0001 import FWCore.ParameterSet.Config as cms
0002 def customise(process):
0003
0004
0005 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
0006 ignoreTotal=cms.untracked.int32(1),
0007 oncePerEventMode=cms.untracked.bool(False))
0008
0009 process.Timing=cms.Service("Timing",
0010 summaryOnly=cms.untracked.bool(True),
0011 excessiveTimeThreshold=cms.untracked.double(600))
0012
0013
0014
0015 if hasattr(process,"options"):
0016 process.options.wantSummary = cms.untracked.bool(True)
0017 else:
0018 process.options = cms.untracked.PSet(
0019 wantSummary = cms.untracked.bool(True)
0020 )
0021
0022 return(process)
0023
0024 def customiseWithTimeMemorySummary(process):
0025 return customise(process)