OMNI_CLOCK_GETRES_REALTIME
MACRO

OMNI_CLOCK_GETRES_REALTIME - Changes the behavior of the clock_getres

SYNOPSIS top

Some 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 CLOCK_REALTIME for clock_getres, but will return correct values for clock_gettime with CLOCK_MONOTONIC, defining this macro will change the behavior of what clock_getres calls.

Defining this macro will set it to CLOCK_REALTIME and with it undefined (default) the framework will use CLOCK_MONOTONIC

CONSIDERATIONS top

No special considerations

PLATFORM SPECIFIC top

This only affects non-Windows systems; defining this macro on Windows based platforms will have no effect on the framework code.

NOTES top

None.