The obvious answer would be frames_displayed / seconds_of_measurement... why are you not using that? Set a timer. Increment a counter every time you show a frame. When timer rings, see how much time has passed and how many frames were rendered.
–
tucuxiJan 18 '13 at 17:21

Thanks for the speedy response, but basically because I haven't done this before and needed some guidance on where to put the variables. But from what you said, the structure would be to create a variable which is incremented by the animation (call it numFrames), and a timer which reads the value every second. Correct?
–
SoluableNonagonJan 18 '13 at 17:27