Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
pub fn set_next_trigger() {
24
set_timer(get_time() + CLOCK_FREQ / TICKS_PER_SEC);
25
}
26
27
pub struct TimerCondVar {
28
pub expire_ms: usize,
Callers
3
rust_main
Function · 0.85
trap_handler
Function · 0.85
trap_from_kernel
Function · 0.85
Calls
2
set_timer
Function · 0.85
get_time
Function · 0.70
Tested by
no test coverage detected