| 52 | }; |
| 53 | |
| 54 | void Workload::operator()() { |
| 55 | uint64_t result = 0; |
| 56 | for (int32_t i = 0; i < size_ / kDataSize; ++i) { |
| 57 | for (const auto v : data_) { |
| 58 | result = (result << (v % 64)) - v; |
| 59 | } |
| 60 | } |
| 61 | benchmark::DoNotOptimize(result); |
| 62 | } |
| 63 | |
| 64 | struct Task { |
| 65 | explicit Task(int32_t size) : workload_(size) {} |
nothing calls this directly
no outgoing calls
no test coverage detected