MACRO
OMNI_CLOCK_GETRES_REALTIME - Changes the behaviour of the clock_getres.
SYNOPSIS top
Some platforms do not have support for certain resolution timers when calling
#define OMNI_CLOCK_GETRES_REALTIMESome platforms do not have support for certain resolution timers when calling
clock_getres this macro changes the underlying resolution used.
DESCRIPTION top
Some systems (like QNX) only take
Defining this macro will set it to
Some systems (like QNX) only take
CLOCK_REALTIME for clock_getres, but will return correct values for clock_gettime with CLOCK_MONOTONIC, defining this macro will change the behaviour of what clock_getres calls.Defining this macro will set it to
CLOCK_REALTIME and with it undefined (default) the library will use CLOCK_MONOTONIC
PLATFORM SPECIFIC top
This only affects non-Windows systems; defining this macro on Windows based platforms will have no effect on the library code.
This only affects non-Windows systems; defining this macro on Windows based platforms will have no effect on the library code.