aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-10-02 14:49:17 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2018-10-02 14:49:17 -0700
commit130eeeaeb9fa5eedb2c627791fc52e6d3a25834c (patch)
tree3c62cb9c3eb225e28a2ce4a62c0404f127419eba /test/cpp/microbenchmarks
parent1d999617e2ef67686d6f6d8be8e2dc62976380eb (diff)
parent35970109a13cc3cfb34ec6132e99c315dedcde1b (diff)
Merge branch 'master' into interceptors_initial
Diffstat (limited to 'test/cpp/microbenchmarks')
-rw-r--r--test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc b/test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc
index 5a7a8d5baf..d4bd58b983 100644
--- a/test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc
+++ b/test/cpp/microbenchmarks/bm_fullstack_unary_ping_pong.cc
@@ -31,6 +31,8 @@ auto& force_library_initialization = Library::get();
* CONFIGURATIONS
*/
+// Replace "benchmark::internal::Benchmark" with "::testing::Benchmark" to use
+// internal microbenchmarking tooling
static void SweepSizesArgs(benchmark::internal::Benchmark* b) {
b->Args({0, 0});
for (int i = 1; i <= 128 * 1024 * 1024; i *= 8) {