lkml.org 
[lkml]   [2005]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Subject[PATCH 000/003] Remove getnstimestamp()
    From
    Date
    	This series removes the getnstimestamp() function from kernel/time.c in
    favor of kernel/hrtimer.c's ktime_get_ts() function which currently does
    exactly the same thing: retrieves a high-resolution (ns) timespec
    structure and performs the wall_to_monotonic adjustment.

    As Jay Lan suggested I was going to replace calls to getnstimestamp()
    with do_posix_clock_monotonic_gettime() but the hrtimer patches switched
    that to a macro. ktime_get_ts() is shorter and avoids unnecessary
    association with posix timers (though it does not emphasize monotonicity
    or resolution).

    The series:

    001/003 export-ktime_get_ts.patch
    Exports ktime_get_ts()

    002/003 proc-events-use-ktime-for-timestamp.patch
    Switches the only user of getnstimestamp() to ktime_get_ts()

    003/003 rm-getnstimestamp.patch
    Remove getnstimestamp() from kernel/time.c


    Thanks,
    -Matt Helsley


    -
    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-12-15 05:37    [W:0.066 / U:30.688 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site