Home
last modified time | relevance | path

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

/DragonOS-0.1.5/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()
Dmod.rs7 pub tv_nsec: i64, field
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Dtime.md17 ``long int tv_nsec`` : 纳秒
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dtime.h32 long int tv_nsec; // 纳秒 member
/DragonOS-0.1.5/user/libs/libc/src/
Dtime.c28 tv_nsec : (long int)(usec % 1000000) * 1000UL in usleep()
/DragonOS-0.1.5/kernel/src/common/
Dtime.h28 int64_t tv_nsec; // 纳秒 member