From 57cd3bbf9b6c3b4b7978f38078bbdfb15b1de1fa Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 27 Aug 2011 18:19:18 +0000 Subject: [PATCH] add optional throttle diagnostics --- BizHawk.MultiClient/Throttle.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BizHawk.MultiClient/Throttle.cs b/BizHawk.MultiClient/Throttle.cs index 57d697f15d..ce491d38c0 100644 --- a/BizHawk.MultiClient/Throttle.cs +++ b/BizHawk.MultiClient/Throttle.cs @@ -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()