Searched refs:tv (Results 1 – 4 of 4) sorted by relevance
155 timeval tv; in NowInMillSec() local156 gettimeofday(&tv, /*tz=*/nullptr); in NowInMillSec()157 return tv.tv_sec * 1000 + tv.tv_usec / 1000; in NowInMillSec()
56 void gettimeofday(struct timeval* tv, struct timezone* /* tz */) { in gettimeofday() argument64 tv->tv_sec = static_cast<long>(secNow.count()); in gettimeofday()65 tv->tv_usec = static_cast<long>(usNow.count() - in gettimeofday()
260 struct timeval tv; in NowMicros() local261 gettimeofday(&tv, nullptr); in NowMicros()262 return static_cast<uint64_t>(tv.tv_sec) * 1000000 + tv.tv_usec; in NowMicros()
31 void gettimeofday(struct timeval* tv, struct timezone* tz);