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 11 of file TimeMemoryInfo.py.

References mathSSE.return().

11 
12 def customise(process):
13  #Adding SimpleMemoryCheck service:
14  process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
15  ignoreTotal=cms.untracked.int32(1),
16  oncePerEventMode=cms.untracked.bool(True))
17  #Adding Timing service:
18  process.Timing=cms.Service("Timing")
19 
20  #Add these 3 lines to put back the summary for timing information at the end of the logfile
21  #(needed for TimeReport report)
22  process.options = cms.untracked.PSet(
23  wantSummary = cms.untracked.bool(True)
24  )
25 
26  #Add the configuration for the Igprof running to dump profile snapshots:
27  process.IgProfService = cms.Service("IgProfService",
28  reportFirstEvent = cms.untracked.int32(1), #Dump first event for baseline studies
29  reportEventInterval = cms.untracked.int32(100),#Dump every 100 events (101,201,301,401,501)->Will run 501 events for Step2, HLT and FASTSIM (6 profiles+the end of job one)
30  reportToFileAtPostEvent = cms.untracked.string("| gzip -c > IgProf.%I.gz")
31  )
32 
33  return(process)
return((rh^lh)&mask)