lkml.org 
[lkml]   [2018]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V4 6/8] perf/x86/intel/uncore: SKX support for IIO free running counters
On Thu, 2 Nov 2017, kan.liang@intel.com wrote:

> From: Kan Liang <Kan.liang@intel.com>
>
> As of Skylake Server, there are a number of free-running counters in
> each IIO Box that collect counts for per box IO clocks and per Port
> Input/Output x BW/Utilization.
>
> The free running counter is read-only and always active. Counting will
> be suspended only when the IIO Box is powered down.
>
> There are three types of IIO free running counters on Skylake server, IO
> CLOCKS counter, BANDWIDTH counters and UTILIZATION counters.
> IO CLOCKS counter is to count IO clocks.
> BANDWIDTH counters are to count inbound(PCIe->CPU)/outbound(CPU->PCIe)
> bandwidth.
> UTILIZATION counters are to count input/output utilization.
>
> The bit width of the free running counters is 36-bits.
>
> Signed-off-by: Kan Liang <Kan.liang@intel.com>

Assumed that all the magic numbers are correct:

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

\
 
 \ /
  Last update: 2018-01-14 23:27    [W:0.136 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site