[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gettimeofday() and clock



On Sun, 25 Aug 2002, Steve Baker wrote:

> usleep is given an argument in MICROSECONDS - but in practice it can't wake
> your program up any faster than the kernel timeslice - which is 1/50th second.

Eh? Depends on platform, I believe, last I checked was 100Hz on intel, 
1000Hz on alpha.

> We all make stoopid mistakes from time to time - don't sweat it.

That I can subscribe to. :-)

Mads

-- 
Mads Bondo Dydensborg.                               madsdyd@challenge.dk
I'd say that Microsoft has every right to expect a user to buy a license
for each computer that the software will be installed on. And I tend to get
especially annoyed by proponents of MS software who essentially bootleg a
great deal of it; it's like a person who will only drive Porsches, but
obtains them through theft.
                           - DrCode