/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Validation/Performance/python/IgProfInfo.py
11 строк
559 B
Slava Krutelyov
use integer division in IgProfInfo.py
16 июл 2021, 15:25
Не верифицирован
16 июл 2021, 15:25
39a9730
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms def customise(process): #Add the configuration for the Igprof running to dump profile snapshots: process.IgProfService = cms.Service("IgProfService", 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("| gzip -c > IgProf.%I.gz") ) return(process)