Dear Roberto, On 1/17/19 9:42 AM, k...@shike2.com wrote:
> I think the important point here is if it is POSIX. If it is not > then maybe we should think to revert to CLOCK_MONOTONIC. CLOCK_BOOTTIME is not POSIX, but CLOCK_MONOTONIC is[0]. CLOCK_BOOTTIME was added in Linux 2.6.39 and is Linux-specific[1]. Thus, I would be in favor of going with CLOCK_MONOTONIC. With best regards Laslo [0]:http://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html [1]:http://man7.org/linux/man-pages/man2/clock_gettime.2.html