Searched refs:nSecsPerSec (Results 1 – 1 of 1) sorted by relevance
44 static const unsigned int nSecsPerSec = 1000000000; variable52 rv += (double) val->tv_nsec / nSecsPerSec; in ts2double()74 rv.tv_nsec = (amt - rv.tv_sec) * nSecsPerSec; in double2ts()76 while ((unsigned) rv.tv_nsec >= nSecsPerSec) { in double2ts()77 rv.tv_nsec -= nSecsPerSec; in double2ts()110 assert(first->tv_nsec >= 0 && first->tv_nsec < nSecsPerSec); in tsDelta()111 assert(second->tv_nsec >= 0 && second->tv_nsec < nSecsPerSec); in tsDelta()116 rv.tv_nsec = (second->tv_nsec + nSecsPerSec) - first->tv_nsec; in tsDelta()