CMS 3D CMS Logo

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

Functions

def customise
 

Function Documentation

def TimeMemoryGenSummary.customise (   process)

Definition at line 11 of file TimeMemoryGenSummary.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(False))
17  #Adding Timing service:
18  process.Timing=cms.Service("Timing",
19  summaryOnly=cms.untracked.bool(True))
20 
21  #Add these 3 lines to put back the summary for timing information at the end of the logfile
22  #(needed for TimeReport report)
23  process.options = cms.untracked.PSet(
24  wantSummary = cms.untracked.bool(True)
25  )
26 
27  #Add the configuration for the Igprof running to dump profile snapshots:
28  process.IgProfService = cms.Service("IgProfService",
29  reportFirstEvent = cms.untracked.int32(1), #Dump first event for baseline studies
30  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)
31  reportToFileAtPostEvent = cms.untracked.string("| gzip -c > IgProf.%I.gz")
32  )
33 
34  process.genParticles.abortOnUnknownPDGCode = cms.untracked.bool(False)
35 
36  return(process)
return((rh^lh)&mask)