Skip to content

Add Valkyrie/Callgrind config for ComponentAccumulator. Add profiledAlg flag for Valkyrie/Callgrind and Vtune

This is to allow something like this aka profiling specific algorithms via the callgrind/valkyrie combo...

InputRDOFile="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CampaignInputs/mc20/RDO/mc20_13TeV.410470.PhPy8EG_A14_ttbar_hdamp258p75_nonallhad.recon.AOD.e6337_s3681_r13145/100events.RDO.pool.root"

valgrind --tool=callgrind --trace-children=yes --collect-jumps=yes --instr-atstart=no --cacheuse=yes --cache-sim=yes\
	--simulate-wb=yes --simulate-hwpref=yes --branch-sim=yes --dump-instr=yes `which Reco_tf.py` \
  --CA \
  --inputRDOFile $InputRDOFile \
  --outputAODFile myAOD.pool.root \
  --preInclude 'egammaConfig.egammaOnlyFromRawFlags.egammaOnlyFromRaw' \
  --preExec 'ConfigFlags.PerfMon.ProfiledAlgs=["EMBremCollectionBuilder"]' \
  --postInclude 'Valkyrie.PerfMonValkyrieConfig.ValkyrieProfilerServiceCfg' \
  --autoConfiguration 'everything' \
  --maxEvents '5' \
  --fileValidation FALSE \
  --perfmon 'none'
  • We add a valkyrie/callgrind CA fragment
  • Also I added a PerfMon.ProfiledAlgs flag. This seemed relevant also for the vtune svc that has a ProfiledAlgs option.

ping @tadej @amete

Edited by Christos Anastopoulos

Merge request reports