Searched refs:use_clock_gettime (Results 1 – 1 of 1) sorted by relevance
338 static int use_clock_gettime = -1; // Which clock to use in gettime() local340 if (use_clock_gettime < 0) { in gettime()341 use_clock_gettime = clock_getres(CLOCK_MONOTONIC, NULL) == 0; in gettime()342 if (use_clock_gettime) { in gettime()351 if (use_clock_gettime) { in gettime()