Home
last modified time | relevance | path

Searched refs:Duration (Results 1 – 4 of 4) sorted by relevance

/DragonReach/src/time/timer/
H A Dmod.rs1 use std::time::{Duration, Instant};
13 duration: Duration,
22 duration: Duration, in new() argument
40 if self.instant.elapsed().saturating_sub(self.duration) > Duration::ZERO { in check()
/DragonReach/src/unit/timer/
H A Dmod.rs14 use std::time::{Duration, Instant};
290 on_active_sec: Duration,
293 on_boot_sec: Duration,
296 on_start_up_sec: Duration,
299 on_unit_active_sec: Duration,
302 on_unit_inactive_sec: Duration,
536 val: Duration,
545 val: Duration, in new() argument
/DragonReach/src/executor/service_executor/
H A Dmod.rs3 time::Duration,
200 Duration::from_nanos(ns), in restart()
235 Duration::from_nanos(ns), in exit()
/DragonReach/src/manager/timer_manager/
H A Dmod.rs3 time::Duration,
41 pub fn push_timer<F>(duration: Duration, callback: F, parent: usize) in push_timer() argument