Subject: Re: [boost] What's wrong with this benchmark
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2016-02-18 12:40:18
On 2/18/2016 7:22 AM, Thorsten Ottosen wrote:
> 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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk