GenericTimeris a generic timer that can be templated with a
std::chrono-compatible clock and a precision. A timing measurement is done via the RAII helper class
- The Timer can register itself with an owner using the dedicated constructor.
RdtscClockis a (non-walltime) clock based on
rdtsc. Depending on the available CPU this can be significantly faster than the default clock. Run the
test_GaudiTimerunit tests for a measurement of the overhead of the various clocks.
Gaudi/Timers.hprovides a default
Gaudi::Timerbased on wall-clock and
Gaudi::FastTimerbased on the
- follow-up on a "Counter service" (issue #51) that can then serve as a replacement for the ChronoStatSvc
- add an instance of
Gaudi::Timerto the default