lkml.org 
[lkml]   [2009]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: perf: counter and event question
    From
    Date
    On Mon, 2009-12-28 at 13:39 +0100, Tim Blechmann wrote:
    > On 12/28/2009 12:26 PM, Peter Zijlstra wrote:
    > > On Mon, 2009-12-28 at 12:16 +0100, Tim Blechmann wrote:
    > >> like it is impossible to sample instructions with a period of 1?
    > >
    > > Pretty much, imagine the cpu getting a trap every cycle.
    >
    > is this a hardware restriction? a slowdown is acceptable for me, as long
    > as i am able to collect a huge number of samples accurately ...

    Large number of samples and sample interval are only related through the
    runtime of your application.

    Use a sensible period (~10k ins) and run a 'little' longer.





    \
     
     \ /
      Last update: 2009-12-28 14:07    [W:0.019 / U:3.588 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site