ATLAS Offline Software
Loading...
Searching...
No Matches
PerfMonVTuneConfig Namespace Reference

Functions

 VTuneProfilerServiceCfg (flags, **kwargs)

Detailed Description

VTune profiler config

Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ VTuneProfilerServiceCfg()

PerfMonVTuneConfig.VTuneProfilerServiceCfg ( flags,
** kwargs )
Configure VTune profiler

Definition at line 11 of file PerfMonVTuneConfig.py.

11def 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