Home
last modified time | relevance | path

Searched refs:wait_ts (Results 1 – 8 of 8) sorted by relevance

/external/adhd/cras/src/server/
Daudio_thread.c770 static void log_busyloop(struct timespec *wait_ts) in log_busyloop() argument
777 if (wait_ts && !started) { in log_busyloop()
781 } else if (!wait_ts && started) { in log_busyloop()
789 static void check_busyloop(struct timespec *wait_ts) in check_busyloop() argument
791 if (wait_ts->tv_sec == 0 && wait_ts->tv_nsec == 0) { in check_busyloop()
840 struct timespec *wait_ts; in audio_io_thread() local
844 wait_ts = NULL; in audio_io_thread()
856 wait_ts = &ts; in audio_io_thread()
892 log_busyloop(wait_ts); in audio_io_thread()
894 ATLOG(atlog, AUDIO_THREAD_SLEEP, wait_ts ? wait_ts->tv_sec : 0, in audio_io_thread()
[all …]
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/kgsl/kgsl_waittimestamp_entry/
Dformat12 field:unsigned int wait_ts; offset:20; size:4; signed:0;
15 …s=%u timeout=%u", __get_str(device_name), REC->context_id, REC->curr_ts, REC->wait_ts, REC->timeout
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/kgsl/kgsl_waittimestamp_entry/
Dformat12 field:unsigned int wait_ts; offset:20; size:4; signed:0;
15 …s=%u timeout=%u", __get_str(device_name), REC->context_id, REC->curr_ts, REC->wait_ts, REC->timeout
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/kgsl/kgsl_waittimestamp_entry/
Dformat13 field:unsigned int wait_ts; offset:24; size:4; signed:0;
16 …s=%u timeout=%u", __get_str(device_name), REC->context_id, REC->curr_ts, REC->wait_ts, REC->timeout
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
D2-7.c246 struct timespec wait_ts; in main() local
263 wait_ts.tv_sec = 0; in main()
264 wait_ts.tv_nsec = TIMEOUT * 1000; in main()
550 nanosleep(&wait_ts, NULL); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
D2-3.c288 struct timespec wait_ts = {0, 100000}; in main() local
388 nanosleep(&wait_ts, NULL); in main()
D2-2.c271 struct timespec wait_ts = {0, 100000}; in main() local
561 nanosleep(&wait_ts, NULL); in main()
/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc1013 timespec wait_ts; in TEST() local
1014 wait_ts.tv_sec = 0; in TEST()
1015 wait_ts.tv_nsec = 0; in TEST()
1017 check_busyloop(&wait_ts); in TEST()
1020 check_busyloop(&wait_ts); in TEST()
1023 check_busyloop(&wait_ts); in TEST()
1027 wait_ts.tv_sec = 1; in TEST()
1028 check_busyloop(&wait_ts); in TEST()