tech-userlevel archive

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

Re: Getting the (up)time with milliseconds resolution

On Fri, Mar 11, 2011 at 07:58:41AM +0100, Marc Balmer wrote:
> I know about the kernel time functions, but what is available in
> userland to get time with millisecond resolution?

gettimeofday() - on NetBSD x86/amd64 and probably others - return times
that are more accurate than the timer tick interrupt.


David Laight:

Home | Main Index | Thread Index | Old Index