MCPcopy 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

ReadMethod · 0.85
laihost_sleepFunction · 0.85
waitFunction · 0.85
SysUptimeFunction · 0.85
SysNanoSleepFunction · 0.85
SysGetProcessInfoFunction · 0.85
SysGetNextProcessInfoFunction · 0.85
WaitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected