Home
last modified time | relevance | path

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

/system/extras/tests/timetest/
Dtimetest.c64 int clock_id = CLOCK_MONOTONIC; in main() local
74 clock_id = atoi(argv[1]); in main()
75 printf("using clock %d\n", clock_id); in main()
77 clock_gettime(clock_id, &t1); in main()
81 clock_gettime(clock_id, &t); in main()
/system/bt/osi/src/
Dalarm.c136 static bool timer_create_internal(const clockid_t clock_id, timer_t *timer);
676 static bool timer_create_internal(const clockid_t clock_id, timer_t *timer) { in timer_create_internal() argument
683 if (timer_create(clock_id, &sigevent, timer) == -1) { in timer_create_internal()
685 __func__, clock_id, strerror(errno)); in timer_create_internal()
686 if (clock_id == CLOCK_BOOTTIME_ALARM) { in timer_create_internal()