Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Thursday, March 18, 2010 - 8:56 am

* Lin Ming <ming.m.lin@intel.com> wrote:


i tried it on a Pentium-D box, and it works pretty well:

rhea:/home/mingo/tip> perf stat -a sleep 1

 Performance counter stats for 'sleep 1':

    2003.237268  task-clock-msecs         #      2.000 CPUs 
             11  context-switches         #      0.000 M/sec
              2  CPU-migrations           #      0.000 M/sec
            174  page-faults              #      0.000 M/sec
          47361  cycles                   #      0.024 M/sec  (scaled from 52.83%)
            430  instructions             #      0.009 IPC    (scaled from 74.58%)
          23873  branches                 #      0.012 M/sec  (scaled from 96.70%)
            193  branch-misses            #      0.808 %      (scaled from 49.64%)
            867  cache-references         #      0.000 M/sec  (scaled from 49.69%)
            504  cache-misses             #      0.000 M/sec  (scaled from 49.58%)

    1.001411586  seconds time elapsed

So i've applied your patches. Cyrill, what do you think?

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU, Ingo Molnar, (Thu Mar 18, 8:56 am)
Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU, Cyrill Gorcunov, (Thu Mar 18, 9:01 am)
[tip:perf/core] perf, x86: Add cache events for the Pentiu ..., tip-bot for Lin Ming, (Thu Mar 18, 10:38 am)
Re: [RFC][PATCH 2/2] x86,perf: add cache events in p4 PMU, Cyrill Gorcunov, (Thu Mar 18, 1:59 pm)