CMS 3D CMS Logo

Functions
TimeMemorySummary Namespace Reference

Functions

def customise (process)
 
def customiseWithTimeMemorySummary (process)
 

Function Documentation

def TimeMemorySummary.customise (   process)

Definition at line 2 of file TimeMemorySummary.py.

References reco.return().

2 def customise(process):
3 
4  #Adding SimpleMemoryCheck service:
5  process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
6  ignoreTotal=cms.untracked.int32(1),
7  oncePerEventMode=cms.untracked.bool(False))
8  #Adding Timing service:
9  process.Timing=cms.Service("Timing",
10  summaryOnly=cms.untracked.bool(True))
11 
12  #Add these 3 lines to put back the summary for timing information at the end of the logfile
13  #(needed for TimeReport report)
14  if hasattr(process,"options"):
15  process.options.wantSummary = cms.untracked.bool(True)
16  else:
17  process.options = cms.untracked.PSet(
18  wantSummary = cms.untracked.bool(True)
19  )
20 
21  return(process)
22 
def customise(process)
return(e1-e2)*(e1-e2)+dp *dp
def TimeMemorySummary.customiseWithTimeMemorySummary (   process)

Definition at line 23 of file TimeMemorySummary.py.

24  return customise(process)
25 
def customiseWithTimeMemorySummary(process)