Timing code for optimization

Posted by Willy p15898 on August 04, 2007

Hi DelphiLanders :)

There are several functions that I can use for timing the performance of my Delphi code: Now, GetTickCount, QueryPerformanceCounter, etc... I've read somewhere that QueryPerformanceCounter is the most accurate. Is the timing difference really big compared to the other functions? Or is it small enough to ignore?
How to go about for having a really useful procedure for optimizing code?

Thanks a lot!
Willy p15898

Related articles


Follow Ups