CMS 3D CMS Logo

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

Functions

def customise
 
def customiseWithTimeMemorySummary
 

Function Documentation

def TimeMemorySummary.customise (   process)

Definition at line 2 of file TimeMemorySummary.py.

References mathSSE.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(False))
9  #Adding Timing service:
10  process.Timing=cms.Service("Timing",
11  summaryOnly=cms.untracked.bool(True))
12 
13  #Add these 3 lines to put back the summary for timing information at the end of the logfile
14  #(needed for TimeReport report)
15  if hasattr(process,"options"):
16  process.options.wantSummary = cms.untracked.bool(True)
17  else:
18  process.options = cms.untracked.PSet(
19  wantSummary = cms.untracked.bool(True)
20  )
21 
22  return(process)
return((rh^lh)&mask)
def TimeMemorySummary.customiseWithTimeMemorySummary (   process)

Definition at line 23 of file TimeMemorySummary.py.

23 
25  return customise(process)