The Gaudi Framework  v33r0 (d5ea422b)
Timers.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
15 
16 #include <chrono>
17 
18 namespace Gaudi {
24  using Timer = Timers::GenericTimer<std::chrono::high_resolution_clock, std::chrono::microseconds>;
25 
32  using FastTimer = Timers::GenericTimer<Timers::RdtscClock<std::chrono::microseconds>, std::chrono::microseconds>;
33 } // namespace Gaudi
Timers::GenericTimer< Timers::RdtscClock< std::chrono::microseconds >, std::chrono::microseconds > FastTimer
Fast RDTSC-based timer with microsecond precision.
Definition: Timers.h:32
Timers::GenericTimer< std::chrono::high_resolution_clock, std::chrono::microseconds > Timer
Default timer using a standard clock with microsecond precision.
Definition: Timers.h:24
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1