Class of time points of the monotone clock in Unix.
More...
#include <stat_bench/clock/monotone_time_point.h>
Class of time points of the monotone clock in Unix.
- Note
- This class is defined only in Unix.
Definition at line 101 of file monotone_time_point.h.
◆ now()
Get the current time from the monotone clock.
- Returns
- Time point.
◆ operator-()
Calculate a duration between two time points.
- Parameters
-
[in] | right | Right-hand-side object. |
- Returns
- Duration.
◆ resolution()
static auto stat_bench::clock::UnixMonotoneTimePoint::resolution |
( |
| ) |
-> Duration |
|
staticnodiscardnoexcept |
Get the resolution of the monotone clock.
- Returns
- Resolution.
The documentation for this class was generated from the following file: