public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] alpha: Implement Hardware Performance Events
@ 2010-04-30 23:55 Michael Cree
  2010-04-30 23:55 ` [PATCH 1/3] alpha: Add performance monitor interrupt counter Michael Cree
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Michael Cree @ 2010-04-30 23:55 UTC (permalink / raw)
  To: linux-kernel
  Cc: Michael Cree, Richard Henderson, Ivan Kokshaysky, Matt Turner,
	Thomas Gleixner, Peter Zijlstra, Paul Mackerras, Ingo Molnar,
	Arnaldo Carvalho de Melo, Tejun Heo, Andrew Morton, linux-alpha

The following patches implement hardware performance events for the Alpha
EV67 and later CPUs.  I have had this running on a Compaq XP1000 (EV67,
single CPU) for a few days now.  Pretty cool -- discovered that the glibc
exp2() library routine uses on average 985 cycles to execute 777 CPU
instructions whereas Compaq's CPML library version of exp2() uses on average
32 cycles to execute 47 CPU instructions to achieve the same thing!

Michael Cree (3):
  alpha: Add performance monitor interrupt counter.
  alpha: Add wrperfmon.h header file to aid use of wrperfmon PALcall.
  alpha: Implement HW performance events on the EV67 and later CPUs.

 arch/alpha/include/asm/hw_irq.h     |    1 +
 arch/alpha/include/asm/perf_event.h |    8 +-
 arch/alpha/include/asm/wrperfmon.h  |   93 ++++
 arch/alpha/kernel/Makefile          |    1 +
 arch/alpha/kernel/irq.c             |    7 +-
 arch/alpha/kernel/irq_alpha.c       |    3 +
 arch/alpha/kernel/perf_event.c      |  836 +++++++++++++++++++++++++++++++++++
 7 files changed, 946 insertions(+), 3 deletions(-)
 create mode 100644 arch/alpha/include/asm/wrperfmon.h
 create mode 100644 arch/alpha/kernel/perf_event.c


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-07-28 20:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30 23:55 [PATCH 0/3] alpha: Implement Hardware Performance Events Michael Cree
2010-04-30 23:55 ` [PATCH 1/3] alpha: Add performance monitor interrupt counter Michael Cree
2010-04-30 23:55 ` [PATCH 2/3] alpha: Add wrperfmon.h header file to aid use of wrperfmon PALcall Michael Cree
2010-04-30 23:55 ` [PATCH 3/3] alpha: Implement HW performance events on the EV67 and later CPUs Michael Cree
2010-05-04  7:40   ` Peter Zijlstra
2010-05-24 21:58     ` Michael Cree
2010-07-27 10:29     ` Michael Cree
2010-07-27 10:29     ` [PATCH 3/3 V2] " Michael Cree
2010-07-28 19:53       ` Andrew Morton
2010-07-28 20:52         ` Michael Cree

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox