CMS 3D CMS Logo

JeProfInfo.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 def customise(process):
3 
4  #Add the configuration for JeProfService running to dump Jemalloc heap profile snapshots:
5  process.JeProfService = cms.Service("JeProfService",
6  reportFirstEvent = cms.untracked.int32(1), #Dump first event for baseline studies
7  reportEventInterval = cms.untracked.int32( ((process.maxEvents.input.value()-1)//2) ), # dump in the middle of the run
8  reportToFileAtPostEvent = cms.untracked.string("jeprof.%I.heap")
9  )
10 
11  return(process)
return((rh ^ lh) &mask)
def customise(process)
Definition: JeProfInfo.py:2