Searched refs:start_tv (Results 1 – 1 of 1) sorted by relevance
259 static double time_since(struct timeval *start_tv, struct timeval *stop_tv) in time_since() argument263 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() argument282 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() argument293 delta = time_since(start_tv, stop_tv); in calc_latency()