From: Philippe Vaucher (philippe.vaucher_at_[hidden])
Date: 2007-05-01 06:16:36
> The reason is simple: clock() times CPU time. usleep() sleeps - it
> doesn't use the CPU. Thus, no "time" elapses during the sleep.
Makes sense, but on windows it works even when I Sleep() so it confused me a
This, by the way, is something you should mention in the clock_timer docs.
Oh yes it's already there in my local doc :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk