Home
last modified time | relevance | path

Searched refs:BenchmarkTestExample (Results 1 – 2 of 2) sorted by relevance

/test/testfwk/developer_test/examples/calculator/test/benchmarktest/common/
Dbenchmark_demo_test.cpp35 static void BenchmarkTestExample(benchmark::State &state) in BenchmarkTestExample() function
44 BENCHMARK(BenchmarkTestExample);
46 BENCHMARK(BenchmarkTestExample)->Iterations(1000);
/test/testfwk/developer_test/libs/benchmark/
DREADME_zh.md31 * @tc.name: BenchmarkTestExample
42 static void BenchmarkTestExample(benchmark::State &state)
51 BENCHMARK(BenchmarkTestExample);
53 BENCHMARK(BenchmarkTestExample)->Iterations(1000);
195 * @tc.name: BenchmarkTestExample
206 static void BenchmarkTestExample(benchmark::State &state)
221 BENCHMARK(BenchmarkTestExample);
223 BENCHMARK(BenchmarkTestExample)->Iterations(1000);
239 …> **Iterations**:benchmark注册的用例函数实现中均存在for循环,如demo用例BenchmarkTestExample中的for,**Iterations表示这个for循…