/third_party/node/deps/base64/base64/test/ |
H A D | benchmark.c | 175 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 D | audio_time.c | 53 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 D | midiloop.c | 25 long long timediff(struct timeval t1, struct timeval t2) in timediff() function 177 diff = timediff(end, start); in main()
|
H A D | latency.c | 391 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 D | pthread_cond_wait_2.c | 46 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 D | pthread_cond_wait_1.c | 46 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 D | 1-1.c | 43 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 D | 1-2.c | 44 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 D | asyn-ares.c | 61 #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 D | easy.c | 617 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 D | util.h | 30 long timediff(struct timeval newer, struct timeval older);
|
H A D | util.c | 268 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 D | test.h | 444 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 D | pcmjob.c | 392 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 D | alsaloop.c | 223 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 D | generate.bat | 232 call :element %1 lib "timediff.c" %3
243 call :element %1 lib "timediff.h" %3
|