Lőrinc
b6b1d0653a
nanobench: fix perf counter buffer init
...
The perf counter read buffer comment says the vectors start with three metadata slots, but brace initialization creates one element with value 3.
Normal benchmark construction usually hides this because successful `monitor()` calls resize the buffers before `updateResults()`, while failed setup sets `mHasError` before the indexed reads.
Initialize the vectors with the size constructor so a default-constructed `LinuxPerformanceCounters` object satisfies the `read_format` invariant instead of relying on that construction path.
Reproducer: https://godbolt.org/z/scE8rMd8Y
2026-06-25 17:06:18 -07:00
..
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-01-13 08:33:37 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-05-15 15:11:12 +02:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-01-13 08:33:37 +01:00
2026-01-13 08:33:37 +01:00
2026-01-13 08:33:37 +01:00
2026-06-15 15:10:39 +02:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-01-13 08:33:37 +01:00
2026-06-10 10:32:40 +01:00
2026-02-09 15:55:55 -05:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2025-12-16 22:21:15 +01:00
2026-06-25 17:06:18 -07:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-15 14:51:12 +01:00
2026-06-10 10:32:40 +01:00
2026-01-13 08:33:37 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-02-09 15:55:55 -05:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-08 14:27:24 +00:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00
2026-06-10 10:32:40 +01:00