test_msectimer()

test_msectimer()#

Checks if the given millisecond timer has expired by comparing it with the current monotonic time.

Prototype

PUBLIC BOOL test_msectimer(uint64_t value);

Parameters

Key

Type

Description

value

uint64_t

The timestamp in milliseconds to check against the current monotonic time.


Return Value

Returns TRUE if the timer has expired, otherwise returns FALSE.

Notes

The function uses time_in_miliseconds_monotonic() to obtain the current monotonic time and compares it with value.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples