Lines Matching refs:tv
46 struct timeval tv;50 tv.tv_sec = 0;51 tv.tv_usec = 0;52 return (tv);55 tv.tv_sec = nsec / NSEC_PER_SEC;58 tv.tv_sec--;61 tv.tv_usec = rem / 1000;62 return (tv);66 timeval_to_ns(const struct timeval *tv)68 return ((int64_t)tv->tv_sec * NSEC_PER_SEC) +69 tv->tv_usec * NSEC_PER_USEC;