benilla-re systems structs docs

ScriptDebugProfileStart

function · ui · host

Address
0x702840 · 19 bytes, up to 0x702852
Signature
int __fastcall (lua_State *L)
Meaning
Latches the time-stamp counter for 0x702860
Confidence
verified, proof one
Finding
core/time#counter-rate

Finding: Counter rate in core: time

0x42c020 returns trunc(1000 / scale): the counter's ticks per second while the clock runs on the time-stamp counter, and 1000 while it runs on GetTickCount. debugprofilestop divides a time-stamp counter difference by a thousandth of it, so it answers milliseconds only after the switch, and raw counter ticks on a multi-core processor.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.