Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/timer/unix/
A DSDL_systimer.c68 static struct timespec start_ts; variable
87 if (clock_gettime(SDL_MONOTONIC_CLOCK, &start_ts) == 0) { in SDL_TicksInit()
120 …ticks = (Uint32)((now.tv_sec - start_ts.tv_sec) * 1000 + (now.tv_nsec - start_ts.tv_nsec) / 100000… in SDL_GetTicks()

Completed in 5 milliseconds