On Sun, Sep 17, 2006 at 01:25:01AM +0200, Jan Wagemakers wrote: > Normally picprog use the RDTSC instruction on x86_64/i386 platforms. By > disabling this, picprog makes use of the delay-routines for platforms that > don't have this RDTSC instruction.
This should be done regardless of platform; RDTSC is a _very_ _poor_ choice for reliable timing and should not be used except in very controlled environments. The most important reason is that you might have CPU frequency scaling going on; suddenly your CPU frequency can move from 150 MHz to 1.4 GHz, and in that case, timing on the number of cycles is not a very good idea... /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]