time_in_miliseconds_monotonic()
#
time_in_miliseconds_monotonic()
returns the current monotonic time in milliseconds, unaffected by system clock changes.
Prototype
uint64_t time_in_miliseconds_monotonic(void);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
This function does not take any parameters. |
Return Value
Returns the current monotonic time in milliseconds as a uint64_t
value.
Notes
This function uses clock_gettime(CLOCK_MONOTONIC, &spec)
to retrieve a time value that is not subject to system clock adjustments.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples