The WPF profiling tool Perforator can display the frame rate of a running WPF program. Does any know precisely what it is measuring about the program to calculate this figure, and if it possible for a program to measure its own frame rate in the same way?
Share
If I got you properly you are looking for
CompositionTarget.Renderingevent.Take a look on the sample: How to: Render on a Per Frame Interval Using CompositionTarget