lkml.org 
[lkml]   [2010]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/2] perf tools: Add reference timestamp to perf header
    From
    Date
    On Mon, 2010-12-13 at 18:35 +0100, Peter Zijlstra wrote:
    > * this CLOCK_MONOTONIC offset (for what little good that does, since
    > our clock isn't strictly sync'ed to CLOCK_MONOTONIC so we can incur
    > arbitrary drift).

    In fact, the only sane way to do that is by creating a software counter
    that represents CLOCK_MONOTONIC and sample that say once a minute (or
    more often if you want smaller drift).




    \
     
     \ /
      Last update: 2010-12-13 18:49    [W:0.019 / U:0.316 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site