Home
last modified time | relevance | path

Searched refs:from_secs (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/process/
H A Dtimer.rs38 <Jiffies as From<Duration>>::from(Duration::from_secs(second)).timer_jiffies(); in new()
84 <Jiffies as From<Duration>>::from(Duration::from_secs(self.expired_second)) in remain()
/DragonOS/kernel/src/time/
H A Dmod.rs204 Self::from_secs(secs as i64) in mktime64()
233 pub fn from_secs<T: Into<i64>>(secs: T) -> Instant { in from_secs() method
338 pub const fn from_secs(secs: u64) -> Duration { in from_secs() method
H A Dsyscall.rs170 let second = Duration::from_secs(expired_second as u64); in alarm()
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/
H A Dmm.rs165 std::thread::sleep(std::time::Duration::from_secs(1)); in run()
256 std::thread::sleep(std::time::Duration::from_secs(1)); in load_header()
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dmod.rs100 std::thread::sleep(std::time::Duration::from_secs(1)); in run_main()
/DragonOS/user/apps/test-for-robustfutex/src/
H A Dmain.rs363 thread::sleep(Duration::from_secs(2)); in test02()
367 thread::sleep(Duration::from_secs(3)); in test02()
/DragonOS/kernel/src/net/
H A Dnet_core.rs64 dhcp_socket.set_max_lease_duration(Some(smoltcp::time::Duration::from_secs(10))); in dhcp_query()