Skip to contentSkip to conversation

make PMU test to pass on more cpu types

PATCH In review Gleb Natapov 1 participant 2 messages Mar 29, 2012 – Apr 9, 2012 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make PMU test to pass on more cpu types

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

x86/pmu.c +2 -2
index e1b8279..2c46f31 100644
@@ -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.

#1 lore raw

ping.

Quoted 20 lines · Gleb Natapov

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

x86/pmu.c +2 -3
index e1b8279..2c46f31 100644
@@ -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},
--
Quoted 5 lines

Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Gleb.