MCPcopy Create free account
hub / github.com/Ruddle/Fomos / new

Method new

bootloader/kernel/src/interrupts.rs:125–129  ·  view source on GitHub ↗
(ms: u64)

Source from the content-addressed store, hash-verified

123
124impl Timer {
125 pub fn new(ms: u64) -> Self {
126 Timer {
127 stop: global_time_ms() + ms,
128 }
129 }
130}
131impl futures::future::Future for Timer {
132 type Output = ();

Callers

nothing calls this directly

Calls 1

global_time_msFunction · 0.85

Tested by

no test coverage detected