ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
Valkyrie
python
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.ValkyrieConfig.ValgrindServiceCfg
ValgrindServiceCfg(flags, **kwargs)
Definition
ValkyrieConfig.py:7
Generated on
for ATLAS Offline Software by
1.17.0