add optional throttle diagnostics

This commit is contained in:
zeromus 2011-08-27 18:19:18 +00:00
parent 27136932c3
commit 57cd3bbf9b
1 changed files with 9 additions and 0 deletions

View File

@ -195,9 +195,18 @@ namespace BizHawk.MultiClient
fSkipFrames *= 0.5f;
}
bool adelikat = false;
void AutoFrameSkip_BeforeThrottle()
{
preThrottleEndticks = GetCurTime();
if (adelikat)
{
ulong bleh;
QueryPerformanceFrequency(out bleh);
Console.WriteLine("QueryPerformanceFrequency: {0}", bleh);
}
}
void AutoFrameSkip_NextFrame()