How to enable FPS monitoring for testing XAML animations?

Since Windows Store applications can work with both Intel architecture and ARM architecture, it is important that the animation (at least) is as possible. FPS is very important for animation testing. How to enable FPS monitoring in Windows?

+5
source share
1 answer

On Windows 8, you do the following:

App.Current.DebugSettings.EnableFrameRateCounter = true;

I like to do it like this:

App.Current.DebugSettings.EnableFrameRateCounter 
    = System.Diagnostics.Debugger.IsAttached;

The UI counter is listed here ( http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.debugsettings.enableframeratecounter.aspx ).

The monitor includes:

  • CP fps: frame rate per second for composition stream
  • UI fps:
  • :
  • : , (GPU)
  • Cp cpu: , .
  • UI cpu: , .
+6

All Articles