Searched refs:uSecsPerSec (Results 1 – 1 of 1) sorted by relevance
43 static const unsigned int uSecsPerSec = 1000000; variable63 rv += (double) val->tv_usec / uSecsPerSec; in tv2double()90 rv.tv_usec = (amt - rv.tv_sec) * uSecsPerSec; in double2tv()92 while ((unsigned) rv.tv_usec >= uSecsPerSec) { in double2tv()93 rv.tv_usec -= uSecsPerSec; in double2tv()133 assert(first->tv_usec >= 0 && first->tv_usec < uSecsPerSec); in tvDelta()134 assert(second->tv_usec >= 0 && second->tv_usec < uSecsPerSec); in tvDelta()139 rv.tv_usec = (second->tv_usec + uSecsPerSec) - first->tv_usec; in tvDelta()