How to measure frame rates?

Hi,

I used VisAD for a little program for 3D visualisation of biological data.
And it works great!

Now I was wondering if there is a way to determine/measure the frame rates
of the three dimensional display (i.e. while zooming)?

Thanks in advance,
Julia