What exactly does Perforator measure to determine the frame rate of a WPF application?

The WPF Perforator profiling tool can display the frame rate in the current WPF program. Does anyone know exactly what he measures about the program to calculate this figure, and can the program evaluate its own frame rate in the same way?

+4
source share
1 answer

If you understood correctly, you are looking for the CompositionTarget.Rendering event.

Take a look at the sample: How to render in a single frame of an interval using CompositionTarget

+3
source

All Articles