public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvm-unit-test] make PMU test to pass on more cpu types
@ 2012-03-29  8:53 Gleb Natapov
  2012-04-09 15:05 ` Gleb Natapov
  0 siblings, 1 reply; 2+ messages in thread
From: Gleb Natapov @ 2012-03-29  8:53 UTC (permalink / raw)
  To: kvm; +Cc: avi

Expand boundaries of some tests since it was observed that on some cpus
results do not fit.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/x86/pmu.c b/x86/pmu.c
index e1b8279..2c46f31 100644
--- a/x86/pmu.c
+++ b/x86/pmu.c
@@ -80,8 +80,8 @@ struct pmu_event {
 } gp_events[] = {
 	{"core cycles", 0x003c, 1*N, 50*N},
 	{"instructions", 0x00c0, 10*N, 10.2*N},
-	{"ref cycles", 0x013c, 1*N, 30*N},
-	{"llc refference", 0x4f2e, 1, 1*N},
+	{"ref cycles", 0x013c, 0.1*N, 30*N},
+	{"llc refference", 0x4f2e, 1, 2*N},
 	{"llc misses", 0x412e, 1, 1*N},
 	{"branches", 0x00c4, 1*N, 1.1*N},
 	{"branch misses", 0x00c5, 0, 0.1*N},
--
			Gleb.

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

end of thread, other threads:[~2012-04-09 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29  8:53 [PATCH kvm-unit-test] make PMU test to pass on more cpu types Gleb Natapov
2012-04-09 15:05 ` Gleb Natapov

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