CMS 3D CMS Logo

Functions
TimeMemoryJobReport Namespace Reference

Functions

def customiseWithTimeMemoryJobReport (process)
 

Function Documentation

◆ customiseWithTimeMemoryJobReport()

def TimeMemoryJobReport.customiseWithTimeMemoryJobReport (   process)

Definition at line 2 of file TimeMemoryJobReport.py.

3 
4  #Adding SimpleMemoryCheck service:
5  process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
6  ignoreTotal=cms.untracked.int32(1),
7  oncePerEventMode=cms.untracked.bool(False),
8  jobReportOutputOnly = cms.untracked.bool(True))
9  #Adding Timing service:
10  process.Timing=cms.Service("Timing",
11  summaryOnly=cms.untracked.bool(True),
12  excessiveTimeThreshold=cms.untracked.double(600))
13 
14  #Add these 3 lines to put back the summary for timing information at the end of the logfile
15  #(needed for TimeReport report)
16  if hasattr(process,"options"):
17  process.options.wantSummary = cms.untracked.bool(False)
18  else:
19  process.options = cms.untracked.PSet(
20  wantSummary = cms.untracked.bool(False)
21  )
22 
23  #Silence the final Timing service report
24  process.MessageLogger.categories.append("TimeReport")
25  process.MessageLogger.cerr.TimeReport = cms.untracked.PSet(limit = cms.untracked.int32(0))
26 
27  return(process)
28 

References mathSSE.return().

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