[lkml]   [2006]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] [Patch 7/8] statistics infrastructure - exploitation prerequisite
    >>>>> "Martin" == Martin Peschke <> writes:

    Martin> I would be happy to exploit an API that may result from that
    Martin> discussion. I would plead for exporting such an API to
    Martin> modules. I don't see how to implement statistics for
    Martin> latencies, otherwise.

    Martin> Any other hints on how to replace my sched_clock() calls are
    Martin> welcome. (I want to measure elapsed times in units that are
    Martin> understandable to users without hardware manuals and
    Martin> calculator, such as milliseconds.)

    You may wish to look at the microstate accounting patches at
    I made the clock source configurable.

    It's acually rather difficult to find a reliable cross-platform
    monotonic clock with good resolution. And different statistics may
    want different clocks; for my purposes a cycle counter is best
    (because I'm running on a machine that varies the clock speed for
    power management reasons), other people may want nanoseconds.

    Dr Peter Chubb peterc AT ERTOS within National ICT Australia
    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-05-17 03:17    [W:0.020 / U:32.724 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site