Messages in this thread | | | Date | Tue, 6 Dec 2005 19:01:26 +0100 | From | Andi Kleen <> | Subject | Re: [PATCH] Win32 equivalent to GetTickCount systemcall (i386) |
| |
On Tue, Dec 06, 2005 at 07:00:34PM +0100, Eric Dumazet wrote: > Andi Kleen a ?crit : > >"David Engraf" <engraf.david@netcom-sicherheitstechnik.de> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |