Searched refs:nseconds (Results 1 – 2 of 2) sorted by relevance
94 UINT64 nseconds; in nanosleep() local104 nseconds = (UINT64)rqtp->tv_sec * OS_SYS_NS_PER_SECOND + rqtp->tv_nsec; in nanosleep()106 tick = (nseconds + nsPerTick - 1) / nsPerTick; // Round up for ticks in nanosleep()
1583 UINT64 nseconds; in OsGetTickTimeFromNow() local1593 nseconds = (UINT64)ts->tv_sec * OS_SYS_NS_PER_SECOND + ts->tv_nsec; in OsGetTickTimeFromNow()1594 if (currTime >= nseconds) { in OsGetTickTimeFromNow()1597 *absTicks = ((nseconds - currTime) + nsPerTick - 1) / nsPerTick + 1; in OsGetTickTimeFromNow()