Home
last modified time | relevance | path

Searched refs:tv_nsec (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.2/kernel/src/time/
Dsleep.c30 if (rqtp->tv_nsec < 0 || rqtp->tv_nsec >= 1000000000) in nanosleep()
35 if (rqtp->tv_nsec < 500000) in nanosleep()
37 uint64_t expired_tsc = rdtsc() + (((uint64_t)rqtp->tv_nsec) * Cpu_tsc_freq) / 1000000000; in nanosleep()
43 rmtp->tv_nsec = 0; in nanosleep()
53 timer_func_init_us(sleep_task, &nanosleep_handler, (void *)current_pcb, rqtp->tv_nsec / 1000); in nanosleep()
65 rmtp->tv_nsec = 0; in nanosleep()
82 tv_nsec : (long int)(usec % 1000000) * 1000UL in usleep()
/DragonOS-0.1.2/user/libs/libc/src/
Dtime.h28 long int tv_nsec; // 纳秒 member
Dtime.c28 tv_nsec : (long int)(usec % 1000000) * 1000UL in usleep()
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/
Dtime.md17 ``long int tv_nsec`` : 纳秒
/DragonOS-0.1.2/kernel/src/common/
Dtime.h28 long long tv_nsec; // 纳秒 member