Home
last modified time | relevance | path

Searched refs:tick_rate (Results 1 – 2 of 2) sorted by relevance

/DragonOS/tools/debugging/logmonitor/src/
H A Devent.rs36 pub fn new(tick_rate: u64) -> Self { in new()
37 let tick_rate = Duration::from_millis(tick_rate); in new() localVariable
44 let timeout = tick_rate in new()
46 .unwrap_or(tick_rate); in new()
58 if last_tick.elapsed() >= tick_rate { in new()
H A Dapp.rs40 tick_rate: 1, in new()
133 tick_rate: usize, field
141 for _ in 0..self.tick_rate { in on_tick()
145 .extend(self.source.by_ref().take(self.tick_rate)); in on_tick()