Searched refs:ts_now (Results 1 – 1 of 1) sorted by relevance
391 struct timespec ts_now; in time_now_us() local392 clock_gettime(CLOCK_MONOTONIC, &ts_now); in time_now_us()393 return ((UINT64)ts_now.tv_sec * 1000000L) + ((UINT64)ts_now.tv_nsec / 1000); in time_now_us()395 struct timeval ts_now; in time_now_us()396 gettimeofday(&ts_now, NULL); in time_now_us()397 return ((UINT64)ts_now.tv_sec * 1000000L) + ((UINT64)ts_now.tv_usec); in time_now_us()