From: Michael Fawcett (michael.fawcett_at_[hidden])
Date: 2006-10-31 11:25:42
On 10/31/06, Philippe Vaucher <philippe.vaucher_at_[hidden]> wrote:
> > Do you also plan to tackle the problem with QueryPerformanceCounter() on
> > multi-core systems? QPC reports problematic/mismatching values on certain
> > multi-core CPUs (e.g. Athlon X2).
> If I get it right there's nothing much I can do about it ?
> I don't think multi-core CPU defines some macro which I could test to
> indicate the user he'd not use the QueryPerformanceCounter timer....
You could use SetThreadAffinity to force QPC to only run on one core,
although I'm not sure what other ramifications to the timer's design
and use this might have.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk