add optional throttle diagnostics
This commit is contained in:
parent
27136932c3
commit
57cd3bbf9b
|
@ -195,9 +195,18 @@ namespace BizHawk.MultiClient
|
||||||
fSkipFrames *= 0.5f;
|
fSkipFrames *= 0.5f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool adelikat = false;
|
||||||
void AutoFrameSkip_BeforeThrottle()
|
void AutoFrameSkip_BeforeThrottle()
|
||||||
{
|
{
|
||||||
preThrottleEndticks = GetCurTime();
|
preThrottleEndticks = GetCurTime();
|
||||||
|
|
||||||
|
if (adelikat)
|
||||||
|
{
|
||||||
|
ulong bleh;
|
||||||
|
QueryPerformanceFrequency(out bleh);
|
||||||
|
Console.WriteLine("QueryPerformanceFrequency: {0}", bleh);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoFrameSkip_NextFrame()
|
void AutoFrameSkip_NextFrame()
|
||||||
|
|
Loading…
Reference in New Issue