Home
last modified time | relevance | path

Searched refs:stop_tv (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/tests/aiostress/
Daio-stress.c259 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()
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/
Daio-stress.c261 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()
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()