PDA

View Full Version : Timer Please!!!



frogger
05-14-2000, 08:08 PM
I need a timer for fps that will work on an sgi and windows

Thank you

Rob The Bloke
05-16-2000, 04:49 PM
I'd have to speak to a matey of mine, but I can tell you that it is a pain to get SGI's to give accurate frames/sec counts.

john
05-16-2000, 06:13 PM
er, no. sgi's are eaaaaaaaaasy to code timers for.

i'll try and hunt down my code, or the man page on it...

john
05-16-2000, 06:28 PM
it was one of the things i was looking for, but i need to also find the accurate timer, but on sgis, check out

/usr/share/src/OpenGL/toolkits/libpdb

which is a profiling library database.

(it comes on the IRIX6.5 distribution, but you need to have it installed, of course)

cheers
John

john
05-16-2000, 06:34 PM
a-HA! here it is. get the man pages on timers (for a discussion of SGI clocks) and on syssgi for the ultimate timer http://www.opengl.org/discussion_boards/ubb/wink.gif True, it's a tiny bit more involved than a gettimeofday, but it is a very cool high resolution timer. you can also use syssgi to toggle the leds on the front box! (fun for ALL the family http://www.opengl.org/discussion_boards/ubb/smile.gif it includes src, btw

cheers
John