16 include(
"PerfMonGPerfTools/DisablePerfMon_jobOFragment.py" )
19 from AthenaCommon.AppMgr
import ServiceMgr
20 from PerfMonGPerfTools.PerfMonGPerfToolsConf
import GPT__ProfilerService
21 ServiceMgr += GPT__ProfilerService(
"ProfilerService" )
22 ServiceMgr.ProfilerService.ControlledProfiling =
False
24 ServiceMgr.ProfilerService.InitEvent = -1
25 ServiceMgr.ProfilerService.ProfileFileName =
"gpt-fulljob.profile"
28 theApp.CreateSvc.insert( 0,
"GPT::ProfilerService/ProfilerService" )
31 from AthenaCommon.Logging
import logging
32 log = logging.getLogger(
"ProfileJob_preInclude" )
33 log.info(
"The entire job will get CPU profiling" )