Now I get what you want to do.  You just want the framerate the gemwin is set to and not the actual real-world times.  The framerate output from the gemwin object and the Quicktime recording objects use real-time timers since Pd's logical time is not useful for profiling or dealing with other APIs. 

Since you just want a single time value can't you have this set at the patch level?  I tried this with the QT recordings but it didn't work well at all because the actual time between frames can vary quite a bit.

On 8/18/07, Georg Holzmann <grh@mur.at> wrote:
Hallo!

I implemented a static getFramerate Method in GemMan now, so it's
possible to query the framerate.

Can someone commit this into CVS ?
(diffs attached)

Thanks,
LG
Georg

10,11c10,11
< //    Copyright (c) G�nther Geiger.
< //    Copyright (c) 2001-2002 IOhannes m zmoelnig. forum::f�r::uml�ute
---
> //    Copyright (c) Günther Geiger.
> //    Copyright (c) 2001-2002 IOhannes m zmoelnig. forum::für::umläute
100d99
< double GemMan::s_deltime = 50.;
111a111
> static double s_deltime = 50.;
1503,1511d1502
< // get Framerate
< //
< /////////////////////////////////////////////////////////
< float GemMan :: getFramerate()
< {
<   return (s_deltime != 0.0) ? (1000. / s_deltime) : 0.0;
< }
<
< /////////////////////////////////////////////////////////
1645c1636
<   post("frame rate: %f", getFramerate() );
---
>   post("frame rate: %f", (0.0 != s_deltime) ? 1000. / s_deltime : 0.0);

9,10c9,10
<     Copyright (c) G�nther Geiger. geiger@epy.co.at
<     Copyright (c) 2001-2002 IOhannes m zmoelnig. forum::f�r::uml�ute. IEM. zmoelnig@iem.kug.ac.at
---
>     Copyright (c) Günther Geiger. geiger@epy.co.at
>     Copyright (c) 2001-2002 IOhannes m zmoelnig. forum::für::umläute. IEM. zmoelnig@iem.kug.ac.at
127,130d126
<       // Get the frame rate
<       static float        getFramerate();
<
<       //////////
244,245d239
<
<         static double s_deltime;