Home
last modified time | relevance | path

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

/external/iperf3/src/
Diperf_util.c198 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/
Dlogging_common.py73 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/
D1-1.c43 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 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/
Dpthread_cond_wait_1.c46 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 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/
Dipv6connect.c425 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/
Dasyn-ares.c471 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()
Deasy.c532 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/
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
/external/markdown/MarkdownTest/
DMarkdownTest.pl91 my $time_diff = timediff($time_end, $time_start);