discuss-gnustep
[Top][All Lists]
Advanced

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

Re: High Res Time


From: Alexander Malmberg
Subject: Re: High Res Time
Date: Wed, 26 Feb 2003 20:58:19 +0100

Travis Griggs wrote:
> Is there an time object which gives higher res than a second? I see
> NSDate, but it is in seconds. I want to do some simple timing. I was
> hoping there was something that wrappers gettimeofday(), struct_timeval,
> and then supports differencing/comparing/etc between them.

The values are in seconds, but the types are double:s, so resolution is
a lot better than seconds (though probably system dependent; the
smallest difference between two calls I can see here is on the order of
10^-6s).

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]