clock_getres
============

POSIX specification:
 https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html

Gnulib module: ---

Portability problems fixed by Gnulib:

Portability problems not fixed by Gnulib:

  * This function is missing on some platforms: Mac OS X 10.11, Minix 3.1.8, mingw, MSVC 14.

  * On many platforms, this function returns a value other than the clock resolution of clock_gettime, i.e., the minimum distance between differing timestamps.  For example, on AIX 7.2 it returns 10 milliseconds even though the clock resolution is 1 microsecond. Conversely, on GNU/Linux it typically returns 1 nanosecond even though the clock resolution may be greater.

The Gnulib module gettime-res is a partial substitute; it implements the CLOCK_REALTIME functionality of clock_getres, and fixes the too-high resolution bug of platforms like AIX 7.2.