Lines Matching refs:time
35 struct timespec time; variable
36 const int result = clock_gettime(clockId, &time);
40 return (time.tv_sec * AAUDIO_NANOS_PER_SECOND) + time.tv_nsec;
55 struct timespec time; variable
56 time.tv_sec = nanoTime / AAUDIO_NANOS_PER_SECOND;
58 time.tv_nsec = nanoTime - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
59 const int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr);
84 struct timespec time; variable
85 time.tv_sec = nanoseconds / AAUDIO_NANOS_PER_SECOND;
87 time.tv_nsec = nanoseconds - (time.tv_sec * AAUDIO_NANOS_PER_SECOND);
89 const int err = clock_nanosleep(clockId, flags, &time, nullptr);