[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Accessing monotonic clock from modules
On Thu, Jun 02, 2005 at 08:36:48AM +0200, Mikael Starvik wrote:
> We would like to get the posix monotonic clock from a loadable module.
> Would a patch to make do_posix_clock_monotonic_gettime exported ok or
> should we do it in some other way?

A possible use of a clean api would be in the packet rx timestamping code
where one is interested in accurate inter-packet timing, but the only way of
timestamping currently uses do_gettimeofday, so is fragile across time
time changes.

-- Gerald
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-06-03 02:17    [W:0.098 / U:3.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site