lkml.org 
[lkml]   [2014]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 0/3] Experimental patchset for CPPC
From
> I verified that CPU freq requests were taken by reading out the PERF_STATUS register.

Don't use the x86 PERF_STATUS register -- it will not tell you what
you want to know.

If you want to see the actual frequency, you need to watch how many
cycles elapse per a known time interval,
which is how intel_pstate and the turbostat utility do it.

cheers,
Len Brown
Intel Open Source Technology Center


\
 
 \ /
  Last update: 2014-08-16 00:41    [W:0.129 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site