Is there a way to make a benchmarker in blender?

I want to make a benchmarking software in Blender 3D. Basically I want the camera to move through a high detailed scene on a path for about 3600 frames (60 seconds @ 60FPS), and no Vsync will be used. I need a script to log the frames per second, and then work out the total. Then the total will be divided by 10 and this will be the final score.
Is this possible?

Thanks for your assistance!

Use this function every frame or so:
http://www.blender.org/documentation/blender_python_api_2_60_release/bge.logic.html#bge.logic.getAverageFrameRate

And store the result in a list. When you’re done, you can do something with the elements in the list.