Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/src/timer/unix/
DSDL_systimer.c68 static struct timeval start_tv; variable
92 gettimeofday(&start_tv, NULL); in SDL_TicksInit()
127 … ticks = (Uint32)((now.tv_sec - start_tv.tv_sec) * 1000 + (now.tv_usec - start_tv.tv_usec) / 1000); in SDL_GetTicks()
/third_party/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()
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()