ATLAS Offline Software
ValkyrieConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 
7 def ValgrindServiceCfg(flags, **kwargs):
8  """Configure ValgrindSvc profiler"""
9 
10  kwargs.setdefault("ProfiledAlgs", flags.PerfMon.Valgrind.ProfiledAlgs)
11  from AthenaCommon.Constants import VERBOSE
12  kwargs.setdefault("OutputLevel", VERBOSE)
13 
14  acc = ComponentAccumulator()
15  acc.addService(CompFactory.ValgrindSvc(**kwargs), create=True)
16  acc.addService(CompFactory.AuditorSvc(), create=True)
17  acc.setAppProperty("AuditAlgorithms", True)
18  acc.setAppProperty("AuditTools", True)
19  acc.setAppProperty("AuditServices", True)
20  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
Constants
some useful constants -------------------------------------------------—
python.ValkyrieConfig.ValgrindServiceCfg
def ValgrindServiceCfg(flags, **kwargs)
Definition: ValkyrieConfig.py:7