benilla-re systems structs docs

AccumulateFrameTime

function · unassigned · primitive

Address
0x442330 · 20 bytes, up to 0x442343
Signature
uint32_t __fastcall (float *payload, void *argument)
Meaning
Adds the frame time to the frame pass elapsed time 0x885608, rounded to a float; returns 1
Confidence
verified, proof two
Finding
core/framepass#elapsed-time
Test
core::frame_time_accumulate_matches_binary

Finding: Elapsed time in core: the frame pass

Each dispatch of category 5 adds the frame time to the float 0x885608: the sum at 53 bits, rounded once to a float, which equals the float sum. The pass hands [0x885608] to each layer callback it calls and stores 0 after its present, called or not. So with one category-5 dispatch before each pass, a layer gets the tick's frame time, and the time of a pass that skips a layer is lost to it.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

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