|
Boost : |
Subject: Re: [boost] [chrono] steady_clock efficiency
From: Marsh Ray (marsh_at_[hidden])
Date: 2011-12-01 12:55:11
On 11/29/2011 08:31 PM, Kenneth Porter wrote:
> 10.0\release\asynch-exceptions-on\threading-multi
> \store_now_in_vector_static.output: steady_clock 636746989 nanoseconds
>
> So about 650 nanoseconds using a 32-bit build on Vista 64 Ultimate.
Some of that may reflect quantization error.
E.g., the clock output might be truncated to microsecond precision which
introduces a 500 ns error on average and the actual read overhead is
something like 150 ns.
- Marsh
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk