Represent monotonically increasing time (use Monotonic::now for current time)
More...
#include <Time.h>
|
| static Monotonic | now () |
| | Obtain time according to monotonic clock.
|
| |
Represent monotonically increasing time (use Monotonic::now for current time)
◆ Absolute() [1/2]
| SC::Time::Absolute::Absolute |
( |
| ) |
|
|
default |
Construct an Absolute time equal to epoch.
◆ Absolute() [2/2]
| SC::Time::Absolute::Absolute |
( |
int64_t | milliseconds | ) |
|
|
inline |
Construct an Absolute from milliseconds since epoch.
- Parameters
-
| milliseconds | Number of milliseconds since epoch |
◆ getMonotonicMilliseconds()
| int64_t SC::Time::Monotonic::getMonotonicMilliseconds |
( |
| ) |
const |
|
inlinenodiscard |
Return given time as monotonically incrementing milliseconds.
◆ now()
| static Monotonic SC::Time::Monotonic::now |
( |
| ) |
|
|
staticnodiscard |
Obtain time according to monotonic clock.
The documentation for this struct was generated from the following file: