OsGetCpuTicks
function · core · orchestration
- Address
0x4293d0· 3 bytes, up to0x4293d2- Signature
uint64_t __cdecl (void)- Meaning
- Returns the time-stamp counter
- Confidence
- verified, proof two
- Finding
- core/time#the-millisecond-clock
Finding: The millisecond clock in core: time
0x42c010 returns trunc(c · scale + offset) as a 32-bit integer, where c is the 64-bit
counter: GetTickCount (zero-extended) in mode 0, rdtsc in mode 1. The product and sum are
doubles at 53-bit precision, and the truncation keeps the low dword of the 64-bit result. At
startup the mode is 0, the scale 1.0 and the offset 0, so the clock is GetTickCount.
The derivation is in the doc.
Callers 5
- OsGetClockCounter core
- SampleClockCounters core
- ServerLink::CmdGruntAuthChallenge net
- ScriptDebugProfileStart ui
- ScriptDebugProfileStop ui
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.