Skip to content

Implement perfstats options for LUAh_PreThinkFrame and LUAh_PostThinkFrame

Nami i requested to merge namiishere/SRB2:perfstats-thinkframes into next

When I initially added the PreThinkFrame and PostThinkFrame hooks, I wasn't aware that perfstats measured ThinkFrame, and thus PreThinkFrame and PostThinkFrame lacked any good way to measure them. This merge request fixes that by adding new options to perfstats: PreThinkFrame/4 measures PreThinkFrame hooks, PostThinkFrame/5 measures PostThinkFrameHooks. I have decided to leave ThinkFrame/3 where it is as to not confuse people currently using perfstats to measure ThinkFrame.

Using the latest git copy of MRCE as an example...

ThinkFrame: srb20039

PreThinkFrame: srb20040

PostThinkFrame: srb20041

Merge request reports

Loading