Jer*_*xon 5 frame-rate winrt-xaml windows-store-apps
由于Windows应用商店应用可以在英特尔和ARM架构上运行,因此动画(至少)尽可能高性能非常重要.要测试动画,FPS非常重要.如何在Windows中启用FPS监控?
在Windows 8中,您执行此操作:
App.Current.DebugSettings.EnableFrameRateCounter = true;
Run Code Online (Sandbox Code Playgroud)
我喜欢这样做:
App.Current.DebugSettings.EnableFrameRateCounter
= System.Diagnostics.Debugger.IsAttached;
Run Code Online (Sandbox Code Playgroud)
计数器UI记录在这里(http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.debugsettings.enableframeratecounter.aspx).
监视器包括:
| 归档时间: |
|
| 查看次数: |
2539 次 |
| 最近记录: |