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

/ast/src/cmd/tests/aso/
H A Dtproc.c63 struct timeval tv1, tv2; local
122 gettimeofday(&tv2, 0); /* get end of time */
124 if (tv1.tv_usec > tv2.tv_usec)
125 { tv2.tv_sec -= 1;
126 tv2.tv_usec += 1000000;
130 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec);
H A Dtthread.c74 struct timeval tv1, tv2; local
111 gettimeofday(&tv2, NULL);
116 if (tv1.tv_usec > tv2.tv_usec)
118 tv2.tv_sec--;
119 tv2.tv_usec += 1000000;
123 tv2.tv_sec - tv1.tv_sec, tv2.tv_usec - tv1.tv_usec);

Completed in 19 milliseconds