Searched refs:last_tick (Results 1 – 1 of 1) sorted by relevance
42 let mut last_tick = Instant::now(); in new() localVariable45 .checked_sub(last_tick.elapsed()) in new()58 if last_tick.elapsed() >= tick_rate { in new()60 last_tick = Instant::now(); in new()