| 81 | } |
| 82 | |
| 83 | static void DetectIntWidthNoNulls( |
| 84 | benchmark::State& state) { // NOLINT non-const reference |
| 85 | const auto values = GetIntSequence(0x12345, -0x1234); |
| 86 | |
| 87 | while (state.KeepRunning()) { |
| 88 | auto result = DetectIntWidth(values.data(), static_cast<int64_t>(values.size())); |
| 89 | benchmark::DoNotOptimize(result); |
| 90 | } |
| 91 | state.SetBytesProcessed(state.iterations() * values.size() * sizeof(uint64_t)); |
| 92 | state.SetItemsProcessed(state.iterations() * values.size()); |
| 93 | } |
| 94 | |
| 95 | static void DetectIntWidthNulls(benchmark::State& state) { // NOLINT non-const reference |
| 96 | const auto values = GetIntSequence(0x12345, -0x1234); |
nothing calls this directly
no test coverage detected