Re: [PATCH] Win32 equivalent to GetTickCount systemcall (i386)

From: Andi Kleen
Date: Tue Dec 06 2005 - 13:01:20 EST


On Tue, Dec 06, 2005 at 07:00:34PM +0100, Eric Dumazet wrote:
> Andi Kleen a ?crit :
> >"David Engraf" <engraf.david@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
> >
> >>times has only 10ms resolution, we need at least 1ms.
> >
> >
> >It actually has jiffies resultion. Your measurements must have been
> >quite off.
>
> I beg to differ: times has a 10 ms resolution ( ie 1/USER_HZ)

You're right. Sorry for the confusion. clock_gettime is the way
to go.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/