Searched refs:NSEC_PER_USEC (Results 1 – 3 of 3) sorted by relevance
36 #define NSEC_PER_USEC 1000ULL macro466 (unsigned long long) ts->tv_nsec / NSEC_PER_USEC; in ts_usec()
56 return ((int64_t)ts.tv_sec) * USEC_PER_SEC + ts.tv_nsec / NSEC_PER_USEC;70 .tv_nsec = (us % USEC_PER_SEC) * NSEC_PER_USEC,
129 t->usec = (nano - (((uint64_t) t->sec) * NSEC_PER_SEC)) / NSEC_PER_USEC; in os_get_reltime()