Boost logo

Boost Users :

Subject: Re: [Boost-users] [Timer] Using progress timers.
From: Sebastian Pfützner (s.pfuetzner_at_[hidden])
Date: 2011-09-21 10:27:40


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... (?)

-- 
Sebastian Pfützner
s.pfuetzner_at_[hidden]
ICQ-ID: 39965036

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