Home
last modified time | relevance | path

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

/system/media/audio_utils/include/audio_utils/
Dclock_nanosleep.h32 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() argument
35 return syscall(SYS_clock_nanosleep, clock_id, flags, request, remain); in audio_utils_clock_nanosleep()
48 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() argument
51 (void) clock_id; in audio_utils_clock_nanosleep()
/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.cc146 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer);
665 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer) { in timer_create_internal() argument
681 if (timer_create(clock_id, &sigevent, timer) == -1) { in timer_create_internal()
682 LOG_ERROR("%s unable to create timer with clock %d: %s", __func__, clock_id, in timer_create_internal()
684 if (clock_id == CLOCK_BOOTTIME_ALARM) { in timer_create_internal()
/system/extras/simpleperf/
Devent_selection_set.h127 void SetClockId(int clock_id);
Devent_selection_set.cpp471 void EventSelectionSet::SetClockId(int clock_id) { in SetClockId() argument
475 selection.event_attr.clockid = clock_id; in SetClockId()