make PMU test to pass on more cpu types
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.
Signed-off-by Gleb Natapov <[email protected]>
x86/pmu.c +2 -2
@@ -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.
ping.
Quoted 20 lines · Gleb Natapov
Expand boundaries of some tests since it was observed that on some cpus results do not fit.
Signed-off-by Gleb Natapov <[email protected]>x86/pmu.c +2
-3@@ -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.