[lkml]   [2006]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Linux time code
    On Thu, 2006-08-17 at 13:43 +0200, Roman Zippel wrote:
    > On Wed, 16 Aug 2006, john stultz wrote:
    > > > For example there is a POSIX-like sys_clock_gettime() intended to
    > > > server the end-user directly, but there's no counterpart do_clock_gettime() to
    > > > server any in-kernel needs.
    > >
    > > Hmmm.. ktime_get(), ktime_get_ts() and ktime_get_real(), provide this
    > > info. Is there something missing here?
    > What is missing is the abiltity to map a clock to a posix clock, so that
    > you would have CLOCK_REALTIME/CLOCK_MONOTONIC as NTP controlled clocks and
    > other CLOCK_* as the raw clock.

    Is there a use case for this (wanting non-NTP corrected time on a system
    running NTPd) you have in mind?

    I'm not strictly opposed to this idea, but since it exposes a new
    interface to userland it needs to be carefully thought out and well


    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: 2006-08-18 00:01    [W:0.019 / U:49.740 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site