Home
last modified time | relevance | path

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

/DragonOS-0.1.8/user/libs/libc/src/
Dtime.c24 int usleep(useconds_t usec) in usleep() argument
27 tv_sec : (long int)(usec / 1000000), in usleep()
28 tv_nsec : (long int)(usec % 1000000) * 1000UL in usleep()
/DragonOS-0.1.8/kernel/src/time/
Dsleep.rs90 pub extern "C" fn rs_usleep(usec: useconds_t) -> i32 { in rs_usleep()
92 tv_sec: (usec / 1000000) as i64, in rs_usleep()
93 tv_nsec: ((usec % 1000000) * 1000) as i64, in rs_usleep()
Dsleep.h13 int rs_usleep(useconds_t usec);
Dtimekeeping.rs273 let usec = __ADDED_USEC.load(Ordering::SeqCst); in update_wall_time() localVariable
274 if usec % USEC_PER_SEC as i64 == 0 { in update_wall_time()
281 if (usec & !((1 << 26) - 1)) != 0 { in update_wall_time()
283 .compare_exchange(usec, 0, Ordering::SeqCst, Ordering::SeqCst) in update_wall_time()
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dunistd.md55 ``extern int usleep(useconds_t usec)`` : 睡眠usec微秒
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dunistd.h103 extern int usleep(useconds_t usec);