Searched refs:timediff (Results 1 – 12 of 12) sorted by relevance
/external/iperf3/src/ |
D | iperf_util.c | 198 double timediff; in cpu_util() local 214 timediff = iperf_time_in_usecs(&temp_time); in cpu_util() 221 pcpu[0] = (((ctemp - clast) * 1000000.0 / CLOCKS_PER_SEC) / timediff) * 100; in cpu_util() 222 pcpu[1] = (userdiff / timediff) * 100; in cpu_util() 223 pcpu[2] = (systemdiff / timediff) * 100; in cpu_util()
|
/external/chromium-trace/catapult/devil/devil/utils/ |
D | logging_common.py | 73 timediff = time.time() - self._creation_time 74 return '%s %8.3fs %s' % (record.levelname[0], timediff, msg)
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/schedule/ |
D | 1-1.c | 43 float timediff(struct timespec t2, struct timespec t1) in timediff() function 103 if (timediff(current_timespec, start_timespec) > RUNTIME) in low_prio_thread()
|
D | 1-2.c | 44 float timediff(struct timespec t2, struct timespec t1) in timediff() function 103 if (timediff(current_time, start_time) > RUNTIME) in low_prio_thread()
|
/external/ltp/testcases/open_posix_testsuite/functional/threads/condvar/ |
D | pthread_cond_wait_1.c | 46 float timediff(struct timespec t2, struct timespec t1) in timediff() function 100 if (timediff(current_time, start_time) > RUNTIME) in low_prio_thread()
|
D | pthread_cond_wait_2.c | 46 float timediff(struct timespec t2, struct timespec t1) in timediff() function 100 if (timediff(current_time, start_time) > RUNTIME) in low_prio_thread()
|
/external/autotest/client/tests/ipv6connect/src/ |
D | ipv6connect.c | 425 int i, inner = 75, outer = 10, timediff; in main() local 470 timediff = (tv1.tv_sec - tv0.tv_sec) * 1000000 + tv1.tv_usec - tv0.tv_usec; in main() 471 fprintf(stderr, "Total time = %d.%06ds\n", timediff / 1000000, in main() 472 timediff % 1000000); in main()
|
/external/curl/lib/ |
D | asyn-ares.c | 471 timediff_t timediff = Curl_timediff(now2, now); /* spent time */ in Curl_resolver_wait_resolv() local 472 if(timediff <= 0) in Curl_resolver_wait_resolv() 474 else if(timediff > timeout) in Curl_resolver_wait_resolv() 477 timeout -= timediff; in Curl_resolver_wait_resolv()
|
D | easy.c | 532 timediff_t timediff = Curl_timediff(after, before); in wait_or_timeout() local 533 if(timediff > 0) { in wait_or_timeout() 534 if(timediff > ev->ms) in wait_or_timeout() 537 ev->ms -= (long)timediff; in wait_or_timeout()
|
/external/curl/tests/server/ |
D | util.h | 28 long timediff(struct timeval newer, struct timeval older);
|
D | util.c | 262 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms() 527 long timediff(struct timeval newer, struct timeval older) in timediff() function
|
/external/markdown/MarkdownTest/ |
D | MarkdownTest.pl | 91 my $time_diff = timediff($time_end, $time_start);
|