Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ sys_get_time
Function
sys_get_time
os/src/syscall/process.rs:22–24 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
20
}
21
22
pub fn sys_get_time() -> isize {
23
get_time_ms() as isize
24
}
25
26
pub fn sys_getpid() -> isize {
27
current_task().unwrap().process.upgrade().unwrap().getpid() as isize
Callers
1
syscall
Function · 0.70
Calls
1
get_time_ms
Function · 0.85
Tested by
no test coverage detected