lkml.org 
[lkml]   [2007]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 0/9] x86_64: reliable TSC-based gettimeofday
    On Thu, Feb 01, 2007 at 12:20:59PM +0100, Andi Kleen wrote:
    > I think a better way to do this would be to define a new CLOCK_THREAD_MONOTONOUS
    > (or better name) timer for clock_gettime().
    >
    > [and my currently stalled vdso patches that implement clock_gettime
    > as a vsyscall]
    >
    > Then also an application could easily use it with LD_PRELOAD

    I think a prctl to enable the non monothone mode is better than any
    LD_PRELOAD trick.
    -
    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: 2007-02-01 12:53    [W:0.022 / U:0.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site