Home
last modified time | relevance | path

Searched refs:timediff (Results 1 – 14 of 14) sorted by relevance

/third_party/alsa-lib/test/
Daudio_time.c50 long long timediff(snd_htimestamp_t t1, snd_htimestamp_t t2) in timediff() function
391 timediff(tstamp_c, trigger_tstamp_c), in main()
393timediff(tstamp_c, trigger_tstamp_c) - timestamp2ns(audio_tstamp_c), audio_tstamp_report_c.accuracy in main()
433 timediff(tstamp_p, trigger_tstamp_p), in main()
435timediff(tstamp_p, trigger_tstamp_p) - timestamp2ns(audio_tstamp_p), audio_tstamp_report_p.accuracy in main()
Dmidiloop.c25 long long timediff(struct timeval t1, struct timeval t2) in timediff() function
177 diff = timediff(end, start); in main()
Dlatency.c328 long timediff(snd_timestamp_t t1, snd_timestamp_t t2) in timediff() function
691 timediff(p_tstamp, c_tstamp)); in main()
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
D1-1.c43 static float timediff(struct timespec t2, struct timespec t1) in timediff() function
103 if (timediff(current_timespec, start_timespec) > RUNTIME) in low_prio_thread()
D1-2.c44 static float timediff(struct timespec t2, struct timespec t1) in timediff() function
103 if (timediff(current_time, start_time) > RUNTIME) in low_prio_thread()
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/condvar/
Dpthread_cond_wait_1.c46 static float timediff(struct timespec t2, struct timespec t1) in timediff() function
100 if (timediff(current_time, start_time) > RUNTIME) in low_prio_thread()
Dpthread_cond_wait_2.c46 static float timediff(struct timespec t2, struct timespec t1) in timediff() function
100 if (timediff(current_time, start_time) > RUNTIME) in low_prio_thread()
/third_party/curl/lib/
Dasyn-ares.c464 timediff_t timediff = Curl_timediff(now2, now); /* spent time */ in Curl_resolver_wait_resolv() local
465 if(timediff <= 0) in Curl_resolver_wait_resolv()
467 else if(timediff > timeout) in Curl_resolver_wait_resolv()
470 timeout -= timediff; in Curl_resolver_wait_resolv()
Deasy.c588 timediff_t timediff = Curl_timediff(after, before); in wait_or_timeout() local
589 if(timediff > 0) { in wait_or_timeout()
590 if(timediff > ev->ms) in wait_or_timeout()
593 ev->ms -= (long)timediff; in wait_or_timeout()
/third_party/curl/tests/server/
Dutil.h28 long timediff(struct timeval newer, struct timeval older);
Dutil.c262 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms()
527 long timediff(struct timeval newer, struct timeval older) in timediff() function
/third_party/alsa-utils/alsaloop/
Dpcmjob.c390 static long timediff(snd_timestamp_t t1, snd_timestamp_t t2) in timediff() function
446 last = (double)timediff(t, loop->xrun_last_update) / 1000; in xrun_stats0()
447 wake = (double)timediff(t, loop->xrun_last_wake) / 1000; in xrun_stats0()
448 check = (double)timediff(t, loop->xrun_last_check) / 1000; in xrun_stats0()
449 sincejob = (double)timediff(t, loop->tstamp_start) / 1000; in xrun_stats0()
2046 diff = timediff(loop->tstamp_end, loop->tstamp_start); in pcmjob_pollfds_handle()
Dalsaloop.c221 static long timediff(struct timeval t1, struct timeval t2) in timediff() function
776 snd_output_printf(output, "pool took %lius\n", timediff(tv2, tv1)); in thread_job1()
/third_party/gstreamer/gstreamer/
DChangeLog127042 (test_event), (timediff), (gstevents_suite):
127077 (test_event), (timediff), (gstevents_suite):
127086 (test_event), (timediff), (gstevents_suite):
127096 (test_event), (timediff), (gstevents_suite), (main):