ATLAS Offline Software
Loading...
Searching...
No Matches
ValkyrieConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6
7def 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
ValgrindServiceCfg(flags, **kwargs)