How to measure elapsed time under Windows?

Grant Edwards invalid at invalid.invalid
Wed Feb 10 23:40:34 CET 2010

On 2010-02-09, Gabriel Genellina <gagsl-py2 at> wrote:

> In code, using SetProcessAffinityMask and related functions:

That solves the problem.  If I don't set the process affinity
mask, I regularly get measurements that are off by 6ms.  I
presume 6ms is the skew between the two cores' performance
counter values.  I don't know if that difference is stable or
how it varies, but now it doesn't matter. :)

Grant Edwards                   grante             Yow! If our behavior is
                                  at               strict, we do not need fun!

More information about the Python-list mailing list