Boost Users :
Subject: Re: [Boost-users] boost timer with sleep
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2008-11-11 04:13:25
Andre Paim Lemos wrote:
> andre_at_andre-desktop:~/test$ ./timer_test
> Is this result expected? Why?
I'd say yes, this is expected. The class is documented as using clock() for
measuring time, and clock() return the processor time used by the process.
> There is another timer implementation that works with sleep?
In Boost? Not that I'm aware of. Have a look at gettimeofday() to roll your
> Andre Paim Lemos
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