Searched refs:ts_now (Results 1 – 1 of 1) sorted by relevance
399 struct timespec ts_now; in time_now_us() local400 clock_gettime(CLOCK_MONOTONIC, &ts_now); in time_now_us()401 return ((UINT64)ts_now.tv_sec * 1000000L) + ((UINT64)ts_now.tv_nsec / 1000); in time_now_us()403 struct timeval ts_now; in time_now_us()404 gettimeofday(&ts_now, NULL); in time_now_us()405 return ((UINT64)ts_now.tv_sec * 1000000L) + ((UINT64)ts_now.tv_usec); in time_now_us()