Lines Matching refs:difftime
237 struct timeval starttime, endtime, difftime; in ffsb_sync() local
243 timersub(&endtime, &starttime, &difftime); in ffsb_sync()
244 printf("%ld sec\n", difftime.tv_sec); in ffsb_sync()
318 struct timeval starttime, endtime, junk, difftime; in ffsb_bench_gettimeofday() local
323 timersub(&endtime, &starttime, &difftime); in ffsb_bench_gettimeofday()
324 total_usec = difftime.tv_sec * 1000000; in ffsb_bench_gettimeofday()
325 total_usec += difftime.tv_usec; in ffsb_bench_gettimeofday()
335 struct timeval starttime, endtime, difftime; in ffsb_bench_getpid() local
340 timersub(&endtime, &starttime, &difftime); in ffsb_bench_getpid()
341 total_usec = difftime.tv_sec * 1000000; in ffsb_bench_getpid()
342 total_usec += difftime.tv_usec; in ffsb_bench_getpid()