Lines Matching refs:tv
48 struct timeval tv;52 tv.tv_sec = 0;53 tv.tv_usec = 0;54 return (tv);57 tv.tv_sec = nsec / NSEC_PER_SEC;60 tv.tv_sec--;63 tv.tv_usec = rem / 1000;64 return (tv);68 timeval_to_ns(const struct timeval *tv)70 return ((int64_t)tv->tv_sec * NSEC_PER_SEC) +71 tv->tv_usec * NSEC_PER_USEC;