Searched refs:start_tv (Results 1 – 2 of 2) sorted by relevance
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 259 static double time_since(struct timeval *start_tv, struct timeval *stop_tv) in time_since() argument 263 sec = stop_tv->tv_sec - start_tv->tv_sec; in time_since() 264 usec = stop_tv->tv_usec - start_tv->tv_usec; in time_since() 278 static double time_since_now(struct timeval *start_tv) in time_since_now() argument 282 return time_since(start_tv, &stop_time); in time_since_now() 288 static void calc_latency(struct timeval *start_tv, struct timeval *stop_tv, in calc_latency() argument 293 delta = time_since(start_tv, stop_tv); in calc_latency()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 261 static double time_since(struct timeval *start_tv, struct timeval *stop_tv) in time_since() argument 265 sec = stop_tv->tv_sec - start_tv->tv_sec; in time_since() 266 usec = stop_tv->tv_usec - start_tv->tv_usec; in time_since() 280 static double time_since_now(struct timeval *start_tv) in time_since_now() argument 284 return time_since(start_tv, &stop_time); in time_since_now() 290 static void calc_latency(struct timeval *start_tv, struct timeval *stop_tv, in calc_latency() argument 295 delta = time_since(start_tv, stop_tv); in calc_latency()
|