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.c17 const clockid_t CLOCK_TO_USE = CLOCK_MONOTONIC; variable
28 clock_gettime(CLOCK_TO_USE, &ts); in verify_clock_nanosleep2()
35 TEST(clock_nanosleep2(CLOCK_TO_USE, TIMER_ABSTIME, &ts, NULL)); in verify_clock_nanosleep2()