cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Class of time points of the monotone clock in C++ standard library. More...
#include <stat_bench/clock/monotone_time_point.h>
Public Member Functions | |
auto | operator- (const StdMonotoneTimePoint &right) const noexcept -> Duration |
Calculate a duration between two time points. | |
Static Public Member Functions | |
static auto | now () noexcept -> StdMonotoneTimePoint |
Get the current time from the monotone clock. | |
static auto | resolution () noexcept -> Duration |
Get the resolution of the monotone clock. | |
Class of time points of the monotone clock in C++ standard library.
Definition at line 149 of file monotone_time_point.h.
|
staticnodiscardnoexcept |
Get the current time from the monotone clock.
Definition at line 137 of file monotone_time_point.cpp.
|
nodiscardnoexcept |
Calculate a duration between two time points.
[in] | right | Right-hand-side object. |
Definition at line 130 of file monotone_time_point.cpp.
|
staticnodiscardnoexcept |
Get the resolution of the monotone clock.
Definition at line 141 of file monotone_time_point.cpp.