10 include(
"PerfMonGPerfTools/DisablePerfMon_jobOFragment.py" )
13 from AthenaCommon.AppMgr
import ServiceMgr
14 from PerfMonGPerfTools.PerfMonGPerfToolsConf
import GPT__ProfilerService
15 ServiceMgr += GPT__ProfilerService(
"ProfilerService" )
16 ServiceMgr.ProfilerService.ControlledProfiling =
False
19 ServiceMgr.ProfilerService.InitEvent = 10
20 ServiceMgr.ProfilerService.ProfileFileName =
"gpt-execute.profile"
23 theApp.CreateSvc.insert( 0,
"GPT::ProfilerService/ProfilerService" )
26 from AthenaCommon.Logging
import logging
27 log = logging.getLogger(
"ProfileEventLoop_preInclude" )
28 log.info(
"The job's event loop will get CPU profiling" )