You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ABSL_RAW_CHECK(est != 0, "Estimator returned zero duration");
causing the test to fail. This is because the timer counter is unlikely to tick between when the test starts and when it ends.
Steps to reproduce the problem
bazel test //absl/random/internal:nanobenchmark_test on an M1 or M2 Mac running Fedora Asahi Remix or (untested) a Linux VM on macOS or directly on macOS.
Describe the issue
On a machine with a low enough timer counter resolution, such as Apple M2 (and I think M1), which has a 24 MHz resolution, this check usually fails:
abseil-cpp/absl/random/internal/nanobenchmark.cc
Line 521 in 74058c0
causing the test to fail. This is because the timer counter is unlikely to tick between when the test starts and when it ends.
Steps to reproduce the problem
bazel test //absl/random/internal:nanobenchmark_test
on an M1 or M2 Mac running Fedora Asahi Remix or (untested) a Linux VM on macOS or directly on macOS.What version of Abseil are you using?
0f102ad
What operating system and version are you using?
Linux (Fedora Asahi Remix 41)
What compiler and version are you using?
clang version 19.1.7 (Fedora 19.1.7-1.fc41)
What build system are you using?
bazel 8.0.1
Additional context
No response
The text was updated successfully, but these errors were encountered: