MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / _cpuTestPERF

Function _cpuTestPERF

pcsx2/R5900.cpp:336–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336static __fi void _cpuTestPERF()
337{
338 // Perfs are updated when read by games (COP0's MFC0/MTC0 instructions), so we need
339 // only update them at semi-regular intervals to keep cpuRegs.cycle from wrapping
340 // around twice on us btween updates. Hence this function is called from the cpu's
341 // Counters update.
342
343 COP0_UpdatePCCR();
344}
345
346// Checks the COP0.Status for exception enablings.
347// Exception handling for certain modes is *not* currently supported, this function filters

Callers 2

_cpuEventTest_SharedFunction · 0.85
cpuTestTIMRIntsFunction · 0.85

Calls 1

COP0_UpdatePCCRFunction · 0.85

Tested by

no test coverage detected