Quote:Original post by Lode
If I profile the application (with the profiler of devc++, which is by the way 1000x slower than gprof in Linux: gprof takes 0 seconds to output you a text file, devc++ takes 5 minutes to output the same text file in a window where you can't copypaste the text), it doesn't show what's causing the slowness.
There's an easy solution to this problem: don't use Dev-C++. [smile]
Quote:Original post by Lode
Could you describe this more? What does a rounding or accuracy issue mean in the context of timing?
An inaccurate timer gives you an inaccurate fps measurement. Games tend not to wildly vary in performance from frame to frame unless the scene drastically changes, or something else in the system changes. The simplest timer available in Windows, GetTickCount, is notoriously inaccurate. QueryPerformanceFrequency/QueryPerformanceCounter tends to be the API of choice for most games on Windows, although you need to take some care when using them.