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()
243 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimedwait2() local249 ts.tv_sec = ts.tv_sec + (ts.tv_nsec + nsecPer100Ms) / nsecPerSec; in ClockWaitTimedwait2()250 ts.tv_nsec = (ts.tv_nsec + nsecPer100Ms) % nsecPerSec; in ClockWaitTimedwait2()321 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimedwait4() local327 ts.tv_sec = ts.tv_sec + (ts.tv_nsec + nsecPer100Ms) / nsecPerSec; in ClockWaitTimedwait4()328 ts.tv_nsec = (ts.tv_nsec + nsecPer100Ms) % nsecPerSec; in ClockWaitTimedwait4()390 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimeMismatch() local396 ts.tv_sec = ts.tv_sec + (ts.tv_nsec + nsecPer100Ms) / nsecPerSec; in ClockWaitTimeMismatch()397 ts.tv_nsec = (ts.tv_nsec + nsecPer100Ms) % nsecPerSec; in ClockWaitTimeMismatch()417 const unsigned int nsecPerSec = NSEC_PER_SEC; in ClockWaitTimeMismatch2() local[all …]