Searched refs:USEC_PER_SEC (Results 1 – 2 of 2) sorted by relevance
317 #define USEC_PER_SEC 1000000 macro322 while (usec >= USEC_PER_SEC) { in timeval_normalize()323 usec -= USEC_PER_SEC; in timeval_normalize()328 usec += USEC_PER_SEC; in timeval_normalize()350 return ((double)delta.tv_usec / USEC_PER_SEC + delta.tv_sec); in timeval_sub_seconds()
30 #define USEC_PER_SEC 1000000 /**< Micro-seconds per second */ macro31 #define NSEC_PER_SEC (USEC_PER_SEC * 1000) /**< Nano-seconds per second */