lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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 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/

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