lkml.org 
[lkml]   [2009]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/3] function-graph: ignore times across schedule

On Tue, 24 Mar 2009, Ingo Molnar wrote:

> * Steven Rostedt <rostedt@goodmis.org> wrote:
>
> > From: Steven Rostedt <srostedt@redhat.com>
> >
> > Impact: more accurate timings
> >
> > The current method of function graph tracing does not take into
> > account the time spent when a task is not running. This shows functions
> > that call schedule have increased costs:
> >
> > 3) + 18.664 us | }
> > ------------------------------------------
> > 3) <idle>-0 => kblockd-123
> > ------------------------------------------
> >
> > 3) | finish_task_switch() {
> > 3) 1.441 us | _spin_unlock_irq();
> > 3) 3.966 us | }
> > 3) ! 2959.433 us | }
> > 3) ! 2961.465 us | }
>
> dunno - i actually like how it shows the _real_ elapsed time. Why is
> this wrong?

OK,

I'll include a trace option called "sleep-time" to allow the user to
decide to show this or not.

-- Steve



\
 
 \ /
  Last update: 2009-03-24 16:35    [W:1.518 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site