diff --git a/example/pmu_datasrc.cpp b/example/pmu_datasrc.cpp index 4b314989d34ccd40426dbfdc8c01c2ce59a6c479..714bbeac8b03af71cad94bd3d78e0a36d3bb193b 100644 --- a/example/pmu_datasrc.cpp +++ b/example/pmu_datasrc.cpp @@ -122,7 +122,7 @@ void ComputeRacePc(const ulong mypc, const map &vas, if (otherPc.pc == mypc) { continue; } - if (va - otherVa <= CACHE_LINE || otherVa - va <= CACHE_LINE) { + if (va - otherVa < CACHE_LINE || otherVa - va < CACHE_LINE) { VaItem otherRacePc; otherRacePc.pc = otherPc.pc; otherRacePc.cnt = vaItemPair.second.cnt;