21 Sep
2011
21 Sep
'11
12:05 p.m.
On Wed, Sep 21, 2011 at 11:47:35AM +0100, Robert Jones wrote:
Hi All, #include
boost::progress_timer t;
0.00 s I was expecting a number >= 5.00 s! What am I missing?
According to the docs for progress_timer, it uses clock(). The man page for clock(3) on my system claims: * The clock() function returns an approximation of processor time used * by the program. That doesn't seem to refer to wall time, so I would recommend you to file a bug against this library. -- Lars Viklund | zao@acc.umu.se