CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
TimeMemoryInfo Namespace Reference

Functions

def customise
 

Function Documentation

def TimeMemoryInfo.customise (   process)

Definition at line 2 of file TimeMemoryInfo.py.

References hitfit.return.

2 
3 def customise(process):
4 
5  #Adding SimpleMemoryCheck service:
6  process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
7  ignoreTotal=cms.untracked.int32(1),
8  oncePerEventMode=cms.untracked.bool(True))
9  #Adding Timing service:
10  process.Timing=cms.Service("Timing")
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  process.options = cms.untracked.PSet(
15  wantSummary = cms.untracked.bool(True)
16  )
17 
18  return(process)