| 98 | } |
| 99 | |
| 100 | Benchmark* Benchmark::RangePair(int lo1, int hi1, int lo2, int hi2) { |
| 101 | std::vector<int> args1; |
| 102 | std::vector<int> args2; |
| 103 | AddRange(&args1, lo1, hi1, 8); |
| 104 | AddRange(&args2, lo2, hi2, 8); |
| 105 | for (int arg1 : args1) { |
| 106 | for (int arg2 : args2) { |
| 107 | ArgPair(arg1, arg2); |
| 108 | } |
| 109 | } |
| 110 | return this; |
| 111 | } |
| 112 | |
| 113 | void Benchmark::Run(const char* pattern) { |
| 114 | if (!all_benchmarks) return; |
no test coverage detected