Searched refs:nSecsPerSec (Results 1 – 1 of 1) sorted by relevance
43 static const unsigned int nSecsPerSec = 1000000000; variable51 rv += (double) val->tv_nsec / nSecsPerSec; in ts2double()73 rv.tv_nsec = (amt - rv.tv_sec) * nSecsPerSec; in double2ts()75 while ((unsigned) rv.tv_nsec >= nSecsPerSec) { in double2ts()76 rv.tv_nsec -= nSecsPerSec; in double2ts()109 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec); in tsDelta()110 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec); in tsDelta()115 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec; in tsDelta()