diff options
author | 2018-10-08 10:10:31 -0700 | |
---|---|---|
committer | 2018-10-08 12:24:03 -0700 | |
commit | b4d5c7cee42154b0e24006287a93022ec605def0 (patch) | |
tree | 71fb6e0473ffec064193fd05397a3d2a49942aad /tools | |
parent | 3c10c6d4144b677d51f1b12afc0e797cc0910276 (diff) |
Benchmark test for callback unary gRPC
Every thread intitiates multiple RPCs. The Callback of the unary RPC then issues a new RPC and this goes until the benchmark shuts down. For shutdown the main thread waits on a conditional variable. After shutdown the callbacks increment a rpcs done variable and once the the rpcs done equate the the total number of outstanding rpcs, the last callback performing the increment operation also issues a signal to wake up the main thread. The mainthread process to join the other threads and perform cleanup
Diffstat (limited to 'tools')
-rw-r--r-- | tools/run_tests/generated/sources_and_headers.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/run_tests/generated/sources_and_headers.json b/tools/run_tests/generated/sources_and_headers.json index 8749593ed5..b27f5b5037 100644 --- a/tools/run_tests/generated/sources_and_headers.json +++ b/tools/run_tests/generated/sources_and_headers.json @@ -7836,6 +7836,7 @@ "test/cpp/qps/benchmark_config.h", "test/cpp/qps/client.h", "test/cpp/qps/client_async.cc", + "test/cpp/qps/client_callback.cc", "test/cpp/qps/client_sync.cc", "test/cpp/qps/driver.cc", "test/cpp/qps/driver.h", |