Precision timing
Hi, I want to get delta timing into my game, and in windows thats just a simple QueryPerformenceCoutner kind of thing - how is this achieved in Linux? What API calls are needed?
Ollie
"It is better to ask some of the questions than to know all the answers." ~ James Thurber[ mdxinfo | An iridescent tentacle | Game design patterns ]
You can always use rdtsc (QueryPerformanceCounter is sometimes implemented with rdtsc):
http://www.linux.it/~rubini/docs/ksys/ksys.html
http://www.linux.it/~rubini/docs/ksys/ksys.html
Thanks for the replies :)
Ollie
"It is better to ask some of the questions than to know all the answers." ~ James Thurber[ mdxinfo | An iridescent tentacle | Game design patterns ]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement