| 337 | } |
| 338 | |
| 339 | static void ReadLevels_Rle(::benchmark::State& state) { |
| 340 | int16_t max_level = static_cast<int16_t>(state.range(0)); |
| 341 | int num_levels = static_cast<int>(state.range(1)); |
| 342 | int batch_size = static_cast<int>(state.range(2)); |
| 343 | int level_repeat_count = static_cast<int>(state.range(3)); |
| 344 | DecodeLevels(Encoding::RLE, max_level, num_levels, batch_size, level_repeat_count, |
| 345 | state); |
| 346 | } |
| 347 | |
| 348 | static void ReadLevels_BitPack(::benchmark::State& state) { |
| 349 | int16_t max_level = static_cast<int16_t>(state.range(0)); |
nothing calls this directly
no test coverage detected