Boost Users :
Subject: Re: [Boost-users] [Timer] Using progress timers.
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-09-21 10:37:00
On 09/21/2011 07:27 AM, Sebastian Pfützner wrote:
> On 21.09.2011 14:05, Lars Viklund wrote:
>> 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
> Is this correct according to the C++ standard? I always interpreted the
> differences between clock()-calls as wall time in conjunction with
> CLOCKS_PER_SEC. This constant wouldn't make sense otherwise... (?)
You'd have to check the C standard. C++ inherits
clock from C as is. IIRC, the behavior varies
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net