lkml.org 
[lkml]   [2011]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 7/7] perf, x86: Implement 64 bit counter support for IBS
On 29.07.11 13:02:42, Peter Zijlstra wrote:
> On Fri, 2011-07-29 at 18:58 +0200, Peter Zijlstra wrote:
> > On Thu, 2011-07-28 at 15:46 +0200, Robert Richter wrote:
> > > This patch implements 64 bit counter support for IBS. The sampling
> > > period is no longer limited to the hw counter width.
> >
> > That should never be the case, even for shorter hw counter, in such a
> > case you should ignore overflows until you reach the programmed period.
>
> Hmm, I might have mis-understood, is that exactly what this patch
> implements, or does this patch add support for new hardware?

Yes, this patch implements 64 bit counter in software and doesn't add
a new hardware feature. It implements 64 bit counting by throwing away
interrupts if the period isn't reached.

-Robert

--
Advanced Micro Devices, Inc.
Operating System Research Center



\
 
 \ /
  Last update: 2011-08-01 07:59    [W:0.064 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site