lkml.org 
[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/6 -tip] perf_counter: Add Generalized Hardware interrupt support for AMD
From
Date
On Wed, 2009-07-01 at 13:24 +0200, Ingo Molnar wrote:
> * Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
>
> >
> > $ ./perf stat -e interrupts -e masked -e int-pending-mask-cycles -- ls -lR /usr/include/ > /dev/null
> >
> > Performance counter stats for 'ls -lR /usr/include/':
> >
> > 377 interrupts
> > 53429936 int-mask-cycles
> > 1119 int-pending-mask-cycles
> >
> > 0.371457539 seconds time elapsed
>
> Agreed, this is another useful generalization - and the 'cycles
> pending' metrics are not retrievable via any software means.
>
> We could and should probably add a software counter for hardirqs as
> wel. That would allow the vector/irqnr information to be passed in,
> and it would allow architectures without irq metrics in the PMU to
> have this counter too.
>

Please let me know that addition of software counter will be in this
patch or we can do it incrementally after this patch.

Thanks,
--
JSR

http://userweb.kernel.org/~jaswinder/




\
 
 \ /
  Last update: 2009-07-03 14:05    [W:0.072 / U:5.288 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site