Searched refs:tv1 (Results 1 - 2 of 2) sorted by relevance

/system/extras/tests/schedtest/
H A Dschedtest.c26 struct timeval tv1; local
32 gettimeofday(&tv1, NULL);
36 long usec = (tv2.tv_sec - tv1.tv_sec) * 1000000 + tv2.tv_usec - tv1.tv_usec;
/system/extras/micro_bench/
H A Dmicro_bench.c30 /* tv2 -= tv1 */
31 static void tv_sub(struct timeval *tv2, struct timeval *tv1) { argument
32 tv2->tv_sec -= tv1->tv_sec;
33 tv2->tv_usec -= tv1->tv_usec;
41 struct timeval tv1; local
46 gettimeofday(&tv1, NULL);
50 tv_sub(&tv2, &tv1);
61 struct timeval tv1; local
66 gettimeofday(&tv1, NULL);
70 tv_sub(&tv2, &tv1);
83 struct timeval tv1; local
107 struct timeval tv1; local
135 struct timeval tv1; local
[all...]

Completed in 1694 milliseconds