Searched refs:use_clock_gettime (Results 1 – 1 of 1) sorted by relevance
340 static int use_clock_gettime = -1; // Which clock to use in gettime() local342 if (use_clock_gettime < 0) { in gettime()343 use_clock_gettime = clock_getres(CLOCK_MONOTONIC, NULL) == 0; in gettime()344 if (use_clock_gettime) { in gettime()353 if (use_clock_gettime) { in gettime()