Boost logo

Boost :

Subject: Re: [boost] What's wrong with this benchmark
From: Thorsten Ottosen (tottosen_at_[hidden])
Date: 2016-02-18 08:22:11

On 18-02-2016 08:51, Michael Marcin wrote:
> I think there is definitely something not quite right.
> One thing I notice is that the line:
> sample.push_back(get_clock() - base_clock);
> Is being timed.
> Which could potentially access a new memory page I think.
> In pin_thread you have _MSVC_VER instead of _MSC_VER

I don't understand why its necessary with all this complicated stuff.
AFAICT, a single threaded program runs on one CPU.


Boost list run by bdawes at, gregod at, cpdaniel at, john at