ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
PerformanceMonitoring
PerfMonVTune
python
PerfMonVTuneConfig.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
"""VTune profiler config
3
4
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5
"""
6
7
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
8
from
AthenaConfiguration.ComponentFactory
import
CompFactory
9
10
11
def
VTuneProfilerServiceCfg
(flags, **kwargs):
12
"""Configure VTune profiler"""
13
kwargs.setdefault("ResumeEvent", flags.Concurrency.NumThreads + 1)
14
kwargs.setdefault("ProfiledAlgs", flags.PerfMon.VTune.ProfiledAlgs)
15
16
VTuneProfilerService = CompFactory.VTuneProfilerService
17
acc = ComponentAccumulator()
18
acc.addService(VTuneProfilerService(**kwargs), create=True)
19
acc.setAppProperty("AuditAlgorithms", True)
20
acc.setAppProperty("AuditTools", True)
21
acc.setAppProperty("AuditServices", True)
22
return acc
PerfMonVTuneConfig.VTuneProfilerServiceCfg
VTuneProfilerServiceCfg(flags, **kwargs)
Definition
PerfMonVTuneConfig.py:11
Generated on
for ATLAS Offline Software by
1.17.0