MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CpuGetCyclesThisVideoFrame

Function CpuGetCyclesThisVideoFrame

source/CPU.cpp:706–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

704
705#if 0 // TODO: Measure perf increase by using this new method
706ULONG CpuGetCyclesThisVideoFrame(ULONG) // Old func using g_uInternalExecutedCycles
707{
708 CpuCalcCycles(g_uInternalExecutedCycles);
709 return g_dwCyclesThisFrame + g_nCyclesExecuted;
710}
711#else
712ULONG CpuGetCyclesThisVideoFrame(const ULONG nExecutedCycles)
713{

Callers 2

VideoGetVblBarMethod · 0.70

Calls 1

CpuCalcCyclesFunction · 0.85

Tested by

no test coverage detected