Boost logo

Boost :

Subject: Re: [boost] [timer] Boost Timer Library Version 2
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-09-27 17:08:40


Le 27/09/11 17:42, Stewart, Robert a écrit :
> CPU Timers page: - There's no information on thread safety. stop(),
> for example is not reentrant.
I guess that the functions are not thread-safe, as it is the case of
Boost.Stopwatch. As far as the timers/stopwatches are stored on the
stack there is no problem. The problem appears when the user shares
these timers/stopwatches between several threads.
>
> - There's no information on Boost.Timers overhead relative to
> timing the target code.
>
Are you asking for the overhead of the time computations or the reporting?

Best,
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk