Home
last modified time | relevance | path

Searched refs:CLOCK_TO_USE (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/realtime/func/gtod_latency/
Dgtod_infinite.c58 #define CLOCK_TO_USE CLOCK_MONOTONIC macro
147 rc = clock_gettime(CLOCK_TO_USE, &p_ts); in main()
164 rc = clock_gettime(CLOCK_TO_USE, &p_ts); in main()
165 rc = clock_gettime(CLOCK_TO_USE, &ts); in main()
/external/ltp/testcases/kernel/syscalls/clock_nanosleep2/
Dclock_nanosleep2_01.c33 const clockid_t CLOCK_TO_USE = CLOCK_MONOTONIC; variable
44 clock_gettime(CLOCK_TO_USE, &ts); in verify_clock_nanosleep2()
51 TEST(clock_nanosleep2(CLOCK_TO_USE, TIMER_ABSTIME, &ts, NULL)); in verify_clock_nanosleep2()