Searched defs:tv2 (Results 1 - 3 of 3) sorted by relevance

/system/extras/tests/schedtest/
H A Dschedtest.c27 struct timeval tv2; local
34 gettimeofday(&tv2, 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;
34 while (tv2->tv_usec < 0) {
35 tv2->tv_usec += 1000000;
36 tv2->tv_sec -= 1;
42 struct timeval tv2; local
48 gettimeofday(&tv2, NULL);
50 tv_sub(&tv2,
62 struct timeval tv2; local
84 struct timeval tv2; local
108 struct timeval tv2; local
136 struct timeval tv2; local
[all...]
/system/extras/tests/framebuffer/
H A Dfb_test.c47 struct timespec tv, tv2; variable in typeref:struct:

Completed in 70 milliseconds