aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/driver.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-09 15:51:41 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-04-09 15:51:41 -0700
commite9a6eb7332eef19805e1177e813dfd301096743d (patch)
tree74342a43590cf30c0ceaf98cb8c60e3f9b4db7bc /test/cpp/qps/driver.h
parent176f921b9b01bfd592298b0da4fb9f1b2b26e1f3 (diff)
Allow RunScenarios to spawn in-process workers
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts. I've built this atop my smoke_test changes as they inspired me to get this done.
Diffstat (limited to 'test/cpp/qps/driver.h')
-rw-r--r--test/cpp/qps/driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/qps/driver.h b/test/cpp/qps/driver.h
index 7a81b701c4..bfa0e68ff8 100644
--- a/test/cpp/qps/driver.h
+++ b/test/cpp/qps/driver.h
@@ -56,7 +56,8 @@ ScenarioResult RunScenario(const grpc::testing::ClientConfig& client_config,
const grpc::testing::ServerConfig& server_config,
size_t num_servers,
int warmup_seconds,
- int benchmark_seconds);
+ int benchmark_seconds,
+ int spawn_local_worker_count);
} // namespace testing
} // namespace grpc