diff options
author | David Garcia Quintas <dgq@google.com> | 2015-05-21 16:49:38 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2015-05-21 16:49:38 -0700 |
commit | f526bd487aaffa27e72f855256126a1c33a9fc81 (patch) | |
tree | 89949f4170732900238f27a83504cc74376fd900 /test/cpp/qps/driver.h | |
parent | 30ecd2b8d901ddfbaa1b607fa514e96e5f49cb11 (diff) | |
parent | 30b39ec4a336d5263dc4c73acd670e3ab2e6a008 (diff) |
Merge branch 'master' of github.com:grpc/grpc into qps_reporter_refactoring
Diffstat (limited to 'test/cpp/qps/driver.h')
-rw-r--r-- | test/cpp/qps/driver.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/cpp/qps/driver.h b/test/cpp/qps/driver.h index eb7119a89d..5e9d4b3cb9 100644 --- a/test/cpp/qps/driver.h +++ b/test/cpp/qps/driver.h @@ -34,6 +34,8 @@ #ifndef TEST_QPS_DRIVER_H #define TEST_QPS_DRIVER_H +#include <memory> + #include "test/cpp/qps/histogram.h" #include "test/cpp/qps/qpstest.grpc.pb.h" @@ -49,15 +51,14 @@ struct ScenarioResult { Histogram latencies; std::vector<ResourceUsage> client_resources; std::vector<ResourceUsage> server_resources; + ClientConfig client_config; + ServerConfig server_config; }; -ScenarioResult RunScenario(const grpc::testing::ClientConfig& client_config, - size_t num_clients, - const grpc::testing::ServerConfig& server_config, - size_t num_servers, - int warmup_seconds, - int benchmark_seconds, - int spawn_local_worker_count); +std::unique_ptr<ScenarioResult> RunScenario( + const grpc::testing::ClientConfig& client_config, size_t num_clients, + const grpc::testing::ServerConfig& server_config, size_t num_servers, + int warmup_seconds, int benchmark_seconds, int spawn_local_worker_count); } // namespace testing } // namespace grpc |