* [kvm-unit-tests] pmu: make llc misses test to pass on more cpu types
@ 2020-08-14 8:48 Like Xu
0 siblings, 0 replies; only message in thread
From: Like Xu @ 2020-08-14 8:48 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: kvm
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@linux.intel.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-14 8:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14 8:48 [kvm-unit-tests] pmu: make llc misses test to pass on more cpu types Like Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).