[kvm-unit-tests] pmu: make llc misses test to pass on more cpu types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Expand boundary of llc misses test since it was observed that
on some Atom Tremont cpus results do not fit.

1 >= 1002014 <= 1000000
FAIL: llc misses-0
1 >= 1002014 <= 1000000
FAIL: llc misses-1
1 >= 1002003 <= 1000000
FAIL: llc misses-2
1 >= 1002014 <= 1000000
FAIL: llc misses-3

Signed-off-by: Like Xu <like.xu@xxxxxxxxxxxxxxx>
---
 x86/pmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x86/pmu.c b/x86/pmu.c
index 5a3d55b..f8cf48b 100644
--- a/x86/pmu.c
+++ b/x86/pmu.c
@@ -82,7 +82,7 @@ struct pmu_event {
 	{"instructions", 0x00c0, 10*N, 10.2*N},
 	{"ref cycles", 0x013c, 0.1*N, 30*N},
 	{"llc refference", 0x4f2e, 1, 2*N},
-	{"llc misses", 0x412e, 1, 1*N},
+	{"llc misses", 0x412e, 1, 1.1*N},
 	{"branches", 0x00c4, 1*N, 1.1*N},
 	{"branch misses", 0x00c5, 0, 0.1*N},
 }, fixed_events[] = {
-- 
2.21.3




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux