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
- Subject: Re: Getting the (up)time with milliseconds resolution
- From: David Laight <david%l8s.co.uk@localhost>
- Date: Fri, 11 Mar 2011 08:14:41 +0000
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
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index