aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/qps_json_driver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/qps/qps_json_driver.cc')
-rw-r--r--test/cpp/qps/qps_json_driver.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/cpp/qps/qps_json_driver.cc b/test/cpp/qps/qps_json_driver.cc
index 1524ebbc38..ec77e1ea56 100644
--- a/test/cpp/qps/qps_json_driver.cc
+++ b/test/cpp/qps/qps_json_driver.cc
@@ -50,6 +50,10 @@ DEFINE_string(scenarios_json, "",
"JSON string containing an array of Scenario objects");
DEFINE_bool(quit, false, "Quit the workers");
+DEFINE_double(initial_offered_load, 1000.0, "Set up for intial offered load");
+
+DEFINE_double(targeted_cpu_load, 99.0, "targeted cpu load");
+
namespace grpc {
namespace testing {
@@ -109,6 +113,7 @@ static bool QpsDriver() {
GetReporter()->ReportQPSPerCore(*result);
GetReporter()->ReportLatency(*result);
GetReporter()->ReportTimes(*result);
+ GetReporter()->ReportCpuUsage(*result);
for (int i = 0; success && i < result->client_success_size(); i++) {
success = result->client_success(i);