bool edgetime_get_real_in_ns(uint64_t *seconds, uint64_t *ns)
Get the real time in seconds and nanoseconds. Uses CLOCK_REAL as source.
uint64_t edgetime_get_monotonic_in_ms()
Get current milliseconds. Uses CLOCK_MONOTONIC as source from POSIX.1-2001, POSIX.1-2008, SUSv2 compliant system. If _POSIX_MONOTONIC_CLOCK is not defined the function returns 0.