ATLAS Offline Software
Loading...
Searching...
No Matches
JobOptCfg.py
Go to the documentation of this file.
1# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
2
3from PerfMonVTune.PerfMonVTuneConf import VTuneProfilerService as _VTuneProfilerService
4
5class 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" )
__init__(self, name="VTuneProfilerService", **kwargs)
Definition JobOptCfg.py:11