Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemonOSProject/LemonOS
/ GetFrequency
Function
GetFrequency
Kernel/src/arch/x86_64/timer.cpp:81–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
uint32_t GetFrequency(){
82
return frequency;
83
}
84
85
inline uint64_t MsToTicks(long ms){
86
return ms * frequency / 1000;
Callers
8
Read
Method · 0.85
laihost_sleep
Function · 0.85
wait
Function · 0.85
SysUptime
Function · 0.85
SysNanoSleep
Function · 0.85
SysGetProcessInfo
Function · 0.85
SysGetNextProcessInfo
Function · 0.85
Wait
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected