Applications technically not using a billion CPU is reported as 100% and so on
Applications technically not using a billion CPU is reported as 100% and so on
pause is simply not taken into account




<TieredCompilation>false</TieredCompilation> into the project file, right?pause<TieredCompilation>false</TieredCompilation>const double loopsPerSecond = 10000;
var timer = new BreakneckSleep(TimeSpan.FromSeconds(1 / loopsPerSecond));
window.Initialize();
while (!window.IsClosing)
{
window.DoEvents();
if (!window.IsClosing)
{
window.DoUpdate();
}
if (!window.IsClosing)
{
window.DoRender();
}
timer.Sleep();
}
window.DoEvents();
window.Reset();