cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Class of a stop watch. More...
#include <stat_bench/clock/stop_watch.h>
Public Member Functions | |
StopWatch ()=default | |
Constructor. | |
StopWatch (const StopWatch &)=delete | |
StopWatch (StopWatch &&)=delete | |
~StopWatch ()=default | |
Destructor. | |
auto | calc_durations () const |
Calculate measured durations. | |
void | lap () |
Measure a time point for a lap. | |
auto | operator= (const StopWatch &) -> StopWatch &=delete |
auto | operator= (StopWatch &&) -> StopWatch &=delete |
void | start (std::size_t num_laps) |
Start measurement. | |
Class of a stop watch.
Definition at line 35 of file stop_watch.h.
|
inlinenodiscard |
|
inline |
Measure a time point for a lap.
Definition at line 68 of file stop_watch.h.
|
inline |
Start measurement.
[in] | num_laps | Number of laps. |
Definition at line 59 of file stop_watch.h.