MCPcopy Create free account
hub / github.com/chyyuu/os_kernel_lab / set_next_trigger

Function set_next_trigger

os/src/timer.rs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23pub fn set_next_trigger() {
24 set_timer(get_time() + CLOCK_FREQ / TICKS_PER_SEC);
25}
26
27pub struct TimerCondVar {
28 pub expire_ms: usize,

Callers 3

rust_mainFunction · 0.85
trap_handlerFunction · 0.85
trap_from_kernelFunction · 0.85

Calls 2

set_timerFunction · 0.85
get_timeFunction · 0.70

Tested by

no test coverage detected