0h, thank you David. So can I do something like : A.-) %CPU == (LOG_PERF_CNT_SISSUE)+(LOG_PERF_CNT_DISSUE*2)*100/CVMX_LOG_PERF_CNT_CLK or B.-) %CPU == (CVMX_LOG_PERF_CNT_ISSUE*100)/CVMX_LOG_PERF_CNT_CLK I setup and read perf counters with : mtc0 %0, $25, 0 dmfc0 %0, $25, 1 but I think that I can only read two counters so I can only use "B". ... or I'm totally wrong 2010/4/26 David Daney <ddaney@xxxxxxxxxxxxxxxxxx>: > On 04/26/2010 06:40 AM, Giant Sand Fan's wrote: >> >> Hi, >> >> I'm trying to calculate de CPU load by access the performance counters >> in mips and I haved reading in the cp0 but my problem is that I cannot >> find documentation about the real meaning of these counters : >> >> 1.-LOG_PERF_CNT_NISSUE : żmeans cycle with no issue? >> >> 2.-LOG_PERF_CNT_SISSUE : żmeans cycle with issue? > > Single issue. > >> >> 3.-LOG_PERF_CNT_DISSUE: żmeans cycle with double issue? >> > > That's right. And PERF_CNT_CLK is the number of cycles. > > David Daney > -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html