Skip to content

AthenaPoolCnvSvc: Start using PMonUtils::BasicStopWatch for custom timing measurements

This MR is a continuation of !62628 (merged) and !62825 (merged). ChronoStatSvc measurements are not reliable in MT jobs. Therefore, I disabled its usage in AthenaPoolCnvSvc in MT jobs in the former. In the latter, I introduced a basic stopwatch implementation that can be used in MT jobs, as well as serial ones. In this MR, I dropped all usage of ChronoStatSvc in AthenaPoolCnvSvc in favor of PMonUtils::BasicStopWatch. At the end of the job, instead of the old ChronoStatSvc measurements, we'll now have, e.g.:

AthenaPoolCnvSvc     INFO PerfStats ---------------------------------------- 
AthenaPoolCnvSvc     INFO PerfStats Timing Measurements for AthenaPoolCnvSvc 
AthenaPoolCnvSvc     INFO PerfStats ---------------------------------------- 
AthenaPoolCnvSvc     INFO PerfStats | fRep_ALL        |            8739 ms | 
AthenaPoolCnvSvc     INFO PerfStats | commitOutput    |            4482 ms | 
AthenaPoolCnvSvc     INFO PerfStats | cObjR_ALL       |           26258 ms | 
AthenaPoolCnvSvc     INFO PerfStats | cRep_ALL        |             189 ms | 
AthenaPoolCnvSvc     INFO PerfStats | cObj_ALL        |           28365 ms | 
AthenaPoolCnvSvc     INFO PerfStats | cRepR_ALL       |            2507 ms | 
AthenaPoolCnvSvc     INFO PerfStats ---------------------------------------- 

For now these are all wall-time measurements but we can do fancier things in the future.

Edited by Alaettin Serhan Mete

Merge request reports