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?
views:
37answers:
1
+1
A:
If I got you properly you are looking for CompositionTarget.Rendering
event.
Take a look on the sample: How to: Render on a Per Frame Interval Using CompositionTarget
Anvaka
2009-12-17 20:58:32