Home
last modified time | relevance | path

Searched refs:nseconds (Results 1 – 2 of 2) sorted by relevance

/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/
Dtime.c94 UINT64 nseconds; in nanosleep() local
104 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()
/device/soc/esp/esp32/components/pthread/
Dpthread.c1583 UINT64 nseconds; in OsGetTickTimeFromNow() local
1593 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()