Skip to content

Commit

Permalink
update thresholds to account for a possible L4. Thanks @miladfarca, f…
Browse files Browse the repository at this point in the history
…ixes 2435

PiperOrigin-RevId: 713713061
  • Loading branch information
jan-wassenberg authored and copybara-github committed Jan 9, 2025
1 parent fecd465 commit c8c3f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hwy/perf_counters_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ TEST(PerfCountersTest, TestMem) {
HWY_ASSERT(values[PerfCounters::kBranchMispredicts] < 1E7); // 273K..1M

HWY_ASSERT(values[PerfCounters::kL3Loads] == 0.0 ||
values[PerfCounters::kL3Loads] > 1000.0); // ~90K
values[PerfCounters::kL3Loads] > 10.0); // ~90K, 50 with L4
HWY_ASSERT(values[PerfCounters::kL3Stores] == 0.0 ||
values[PerfCounters::kL3Stores] > 1E3); // 9K..5M
values[PerfCounters::kL3Stores] > 10.0); // 9K..5M

HWY_ASSERT(values[PerfCounters::kCacheRefs] == 0.0 ||
values[PerfCounters::kCacheRefs] > 1E4); // 75K..66M
Expand Down

0 comments on commit c8c3f5e

Please sign in to comment.