diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-04-04 22:52:44 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-04-04 22:52:44 -0700 |
commit | f7c673a8c789e6b521b2b83c82eb433900fd4b78 (patch) | |
tree | 70238ded65492a005a6e2abd986ecf59a953073a /test/cpp/microbenchmarks/bm_cq_multiple_threads.cc | |
parent | 2c3e7e80bd861d28e6395f503650828c0eb05580 (diff) |
minor change
Diffstat (limited to 'test/cpp/microbenchmarks/bm_cq_multiple_threads.cc')
-rw-r--r-- | test/cpp/microbenchmarks/bm_cq_multiple_threads.cc | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc index 82f402d3dd..80f21f1f69 100644 --- a/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc +++ b/test/cpp/microbenchmarks/bm_cq_multiple_threads.cc @@ -132,11 +132,7 @@ static void BM_Cq_Throughput(benchmark::State& state) { track_counters.Finish(state); } -BENCHMARK(BM_Cq_Throughput)->Threads(1)->UseRealTime(); -BENCHMARK(BM_Cq_Throughput)->Threads(2)->UseRealTime(); -BENCHMARK(BM_Cq_Throughput)->Threads(4)->UseRealTime(); -BENCHMARK(BM_Cq_Throughput)->Threads(8)->UseRealTime(); -BENCHMARK(BM_Cq_Throughput)->Threads(16)->UseRealTime(); +BENCHMARK(BM_Cq_Throughput)->ThreadRange(1, 16)->UseRealTime(); } // namespace testing } // namespace grpc |