Searched refs:nsecPerSec (Results 1 – 2 of 2) sorted by relevance
66 const unsigned int nsecPerSec = NSEC_PER_SEC; in GetDelayedTimeByClockid() local70 ts->tv_sec = tsNow.tv_sec + (tsNow.tv_nsec + setTimeNs) / nsecPerSec; in GetDelayedTimeByClockid()71 ts->tv_nsec = (tsNow.tv_nsec + setTimeNs) % nsecPerSec; in GetDelayedTimeByClockid()77 const unsigned int nsecPerSec = NSEC_PER_SEC; in GetTimeDiff() local78 int ms = (ts1.tv_sec - ts2.tv_sec) * nsecPerSec + (ts1.tv_nsec - ts2.tv_nsec); in GetTimeDiff()
230 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimedwait2() local236 ts.tv_sec = ts.tv_sec + (ts.tv_nsec + nsecPer100Ms) / nsecPerSec; in ClockWaitTimedwait2()237 ts.tv_nsec = (ts.tv_nsec + nsecPer100Ms) % nsecPerSec; in ClockWaitTimedwait2()308 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimedwait4() local314 ts.tv_sec = ts.tv_sec + (ts.tv_nsec + nsecPer100Ms) / nsecPerSec; in ClockWaitTimedwait4()315 ts.tv_nsec = (ts.tv_nsec + nsecPer100Ms) % nsecPerSec; in ClockWaitTimedwait4()377 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimeMismatch() local383 ts.tv_sec = ts.tv_sec + (ts.tv_nsec + nsecPer100Ms) / nsecPerSec; in ClockWaitTimeMismatch()384 ts.tv_nsec = (ts.tv_nsec + nsecPer100Ms) % nsecPerSec; in ClockWaitTimeMismatch()404 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimeMismatch2() local[all …]