| 55 | } |
| 56 | |
| 57 | void SetBytesProcessed(::benchmark::State& state, Repetition::type repetition) { |
| 58 | int64_t num_values = state.iterations() * state.range(0); |
| 59 | int64_t bytes_processed = num_values * sizeof(int64_t); |
| 60 | if (repetition != Repetition::REQUIRED) { |
| 61 | bytes_processed += num_values * sizeof(int16_t); |
| 62 | } |
| 63 | if (repetition == Repetition::REPEATED) { |
| 64 | bytes_processed += num_values * sizeof(int16_t); |
| 65 | } |
| 66 | state.SetBytesProcessed(bytes_processed); |
| 67 | state.SetItemsProcessed(num_values); |
| 68 | } |
| 69 | |
| 70 | static void BM_WriteInt64Column(::benchmark::State& state, Repetition::type repetition, |
| 71 | Compression::type codec, Encoding::type encoding) { |
no outgoing calls
no test coverage detected