Re: Does 2.6.26 provide nanosecond time to the user?

From: Chris Friesen
Date: Thu Jul 17 2008 - 23:46:45 EST


Reg Clemens wrote:
Im confused.
(sorry I havent been following the linux-kernel mailing list on this)

Does 2.6.26 use nanosecond time
(1) internally?
(2) provide it to the user?

It's available to userspace via clock_gettime(), but whether it really is accurate to sub-microseconds will depend on the specific version of the kernel and hardware architecture being used.

Chris
--
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/