1 #ifndef COMPONENTS_C11TIMER_H
2 #define COMPONENTS_C11TIMER_H
56 std::chrono::steady_clock::time_point
_start;
void stop()
stop the timer
void start()
(re)start the timer
casacore::Double totalDuration() const
total duration in seconds, sum of all start/stop cycles doesn't include the duration of the current c...
C11Timer()
casacore::Timer based on C++11 chrono library
casacore::Double meanDuration() const
return mean duration, in seconds, of all start/stop cycles
casacore::Double duration() const
duration in seconds of most recent start/stop cycle
std::chrono::duration< double > _totalDuration
std::chrono::steady_clock::time_point _start
casacore::uInt nCycles() const
number of start/stop cycles
std::chrono::duration< double > _duration