Searched refs:BenchmarkTestExample (Results 1 – 2 of 2) sorted by relevance
35 static void BenchmarkTestExample(benchmark::State &state) in BenchmarkTestExample() function44 BENCHMARK(BenchmarkTestExample);46 BENCHMARK(BenchmarkTestExample)->Iterations(1000);
31 * @tc.name: BenchmarkTestExample42 static void BenchmarkTestExample(benchmark::State &state)51 BENCHMARK(BenchmarkTestExample);53 BENCHMARK(BenchmarkTestExample)->Iterations(1000);195 * @tc.name: BenchmarkTestExample206 static void BenchmarkTestExample(benchmark::State &state)221 BENCHMARK(BenchmarkTestExample);223 BENCHMARK(BenchmarkTestExample)->Iterations(1000);239 …> **Iterations**:benchmark注册的用例函数实现中均存在for循环,如demo用例BenchmarkTestExample中的for,**Iterations表示这个for循…