CMS 3D CMS Logo

Functions
TimeMemoryInfo Namespace Reference

Functions

def customise (process)
 

Function Documentation

◆ customise()

def TimeMemoryInfo.customise (   process)

Definition at line 2 of file TimeMemoryInfo.py.

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(True))
8  #Adding Timing service:
9  process.Timing=cms.Service("Timing")
10 
11  #Add these 3 lines to put back the summary for timing information at the end of the logfile
12  #(needed for TimeReport report)
13  if hasattr(process,'options'):
14  process.options.wantSummary = cms.untracked.bool(True)
15  else:
16  process.options = cms.untracked.PSet(
17  wantSummary = cms.untracked.bool(True)
18  )
19 
20  return(process)

References mathSSE.return().

TimeMemoryInfo.customise
def customise(process)
Definition: TimeMemoryInfo.py:2
mathSSE::return
return((rh ^ lh) &mask)