Home
last modified time | relevance | path

Searched refs:timediff (Results 1 - 16 of 16) sorted by relevance

/third_party/node/deps/base64/base64/test/
H A Dbenchmark.c175 float timediff, fastest = -1.0f; in codec_bench_enc() local
191 timediff = timediff_sec(&start, &end) / bs->batch; in codec_bench_enc()
194 if (fastest < 0.0f || timediff < fastest) in codec_bench_enc()
195 fastest = timediff; in codec_bench_enc()
204 float timediff, fastest = -1.0f; in codec_bench_dec() local
220 timediff = timediff_sec(&start, &end) / bs->batch; in codec_bench_dec()
223 if (fastest < 0.0f || timediff < fastest) in codec_bench_dec()
224 fastest = timediff; in codec_bench_dec()
/third_party/alsa-lib/test/
H A Daudio_time.c53 long long timediff(snd_htimestamp_t t1, snd_htimestamp_t t2) in timediff() function
394 timediff(tstamp_c, trigger_tstamp_c), in main()
396 timediff(tstamp_c, trigger_tstamp_c) - timestamp2ns(audio_tstamp_c), audio_tstamp_report_c.accuracy in main()
436 timediff(tstamp_p, trigger_tstamp_p), in main()
438 timediff(tstamp_p, trigger_tstamp_p) - timestamp2ns(audio_tstamp_p), audio_tstamp_report_p.accuracy in main()
H A Dmidiloop.c25 long long timediff(struct timeval t1, struct timeval t2) in timediff() function
177 diff = timediff(end, start); in main()
H A Dlatency.c391 long timediff(snd_timestamp_t t1, snd_timestamp_t t2) in timediff() function
856 timediff(p_tstamp, c_tstamp)); in main()
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/condvar/
H A 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()
H A 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()
/third_party/ltp/testcases/open_posix_testsuite/functional/threads/schedule/
H A 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()
H A 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/curl/lib/
H A Dasyn-ares.c61 #include "timediff.h"
504 timediff_t timediff = Curl_timediff(now2, now); /* spent time */ in Curl_resolver_wait_resolv() local
505 if(timediff <= 0) in Curl_resolver_wait_resolv()
507 else if(timediff > timeout) in Curl_resolver_wait_resolv()
510 timeout -= timediff; in Curl_resolver_wait_resolv()
H A Deasy.c617 timediff_t timediff = Curl_timediff(after, before); in wait_or_timeout() local
618 if(timediff > 0) { in wait_or_timeout()
619 if(timediff > ev->ms) in wait_or_timeout()
622 ev->ms -= (long)timediff; in wait_or_timeout()
/third_party/curl/tests/server/
H A Dutil.h30 long timediff(struct timeval newer, struct timeval older);
H A Dutil.c268 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms()
457 long timediff(struct timeval newer, struct timeval older) in timediff() function
/third_party/curl/tests/libtest/
H A Dtest.h444 long timediff = tutil_tvdiff(tutil_tvnow(), tv_test_start); \
445 if(timediff > (TEST_HANG_TIMEOUT)) { \
448 (Y), (Z), timediff, (long) (TEST_HANG_TIMEOUT)); \
/third_party/alsa-utils/alsaloop/
H A Dpcmjob.c392 static long timediff(snd_timestamp_t t1, snd_timestamp_t t2) in timediff() function
448 last = (double)timediff(t, loop->xrun_last_update) / 1000; in xrun_stats0()
449 wake = (double)timediff(t, loop->xrun_last_wake) / 1000; in xrun_stats0()
450 check = (double)timediff(t, loop->xrun_last_check) / 1000; in xrun_stats0()
451 sincejob = (double)timediff(t, loop->tstamp_start) / 1000; in xrun_stats0()
2048 diff = timediff(loop->tstamp_end, loop->tstamp_start); in pcmjob_pollfds_handle()
H A Dalsaloop.c223 static long timediff(struct timeval t1, struct timeval t2) in timediff() function
778 snd_output_printf(output, "pool took %lius\n", timediff(tv2, tv1)); in thread_job1()
/third_party/curl/projects/
H A Dgenerate.bat232 call :element %1 lib "timediff.c" %3
243 call :element %1 lib "timediff.h" %3

Completed in 16 milliseconds