/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Validation/Performance/python/JeProfInfo.py
11 строк
562 B
Patrick Gartung
Move JeProfService.h file into JeProfService.cc file
28 янв 2023, 17:41
28 янв 2023, 17:41
db1fc24
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms def customise(process): #Add the configuration for JeProfService running to dump Jemalloc heap profile snapshots: process.JeProfService = cms.Service("JeProfService", reportFirstEvent = cms.untracked.int32(1), #Dump first event for baseline studies reportEventInterval = cms.untracked.int32( ((process.maxEvents.input.value()-1)//2) ), # dump in the middle of the run reportToFileAtPostEvent = cms.untracked.string("jeprof.%I.heap") ) return(process)