[GEM-dev] how the get framerate of GEM in a pix_ object ?

Georg Holzmann grh at mur.at
Thu Aug 16 22:35:33 CEST 2007


Hallo chris!

> Did you turn on profiling with a 'profile 1' message to the gemwin?

I just tried this but also with 'profile 1' I cannot get the framerate 
(is still zero), I only get lots of "GEM: time: 0,102756" messages in 
the console.

I try to read the framerate with
float framerate = GemMan::fps;

Thanks,
LG
Georg




More information about the GEM-dev mailing list