ATLAS Offline Software
JobOptCfg.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2 
3 from PerfMonVTune.PerfMonVTuneConf import VTuneProfilerService as _VTuneProfilerService
4 
5 class VTuneProfilerService( _VTuneProfilerService ):
6 
7  # No new properties
8  __slots__ = ()
9 
10  # Initialize from the base class
11  def __init__( self, name = "VTuneProfilerService", **kwargs ):
12  kwargs['name'] = name
13  super( VTuneProfilerService, self ).__init__( **kwargs )
14 
15  # Enable the auditor hooks
16  from AthenaCommon.AppMgr import theApp
17  theApp.AuditAlgorithms = True
18  theApp.AuditTools = True
19  theApp.AuditServices = True
20 
21  # Set up the profiler service as the first service to be created:
22  theApp.CreateSvc.insert( 0, "VTuneProfilerService/VTuneProfilerService" )
JobOptCfg.VTuneProfilerService.__init__
def __init__(self, name="VTuneProfilerService", **kwargs)
Definition: JobOptCfg.py:11
JobOptCfg.VTuneProfilerService
Definition: JobOptCfg.py:5