aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop/stress_interop_client.cc
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2015-11-03 15:55:43 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2015-11-03 15:55:43 -0800
commit4d0f2f9dab16162d41970e80c48d851f34b831bb (patch)
tree53b605b7f609eb641b30993995142134e93750b5 /test/cpp/interop/stress_interop_client.cc
parentb5e98c5c69fe6ce9c069a7192385cd530c35f7a8 (diff)
Fix typo in my previous commit. %s/guage/gauge/g
Diffstat (limited to 'test/cpp/interop/stress_interop_client.cc')
-rw-r--r--test/cpp/interop/stress_interop_client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/interop/stress_interop_client.cc b/test/cpp/interop/stress_interop_client.cc
index a68621c4e2..5d2951e3ed 100644
--- a/test/cpp/interop/stress_interop_client.cc
+++ b/test/cpp/interop/stress_interop_client.cc
@@ -94,7 +94,7 @@ StressTestInteropClient::StressTestInteropClient(
sleep_duration_ms_(sleep_duration_ms),
metrics_collection_interval_secs_(metrics_collection_interval_secs) {}
-void StressTestInteropClient::MainLoop(std::shared_ptr<Guage> rps_guage) {
+void StressTestInteropClient::MainLoop(std::shared_ptr<Gauge> qps_gauge) {
gpr_log(GPR_INFO, "Running test %d. ServerAddr: %s", test_id_,
server_address_.c_str());
@@ -120,7 +120,7 @@ void StressTestInteropClient::MainLoop(std::shared_ptr<Guage> rps_guage) {
// See if its time to collect stats yet
current_time = gpr_now(GPR_CLOCK_REALTIME);
if (gpr_time_cmp(next_stat_collection_time, current_time) < 0) {
- rps_guage->Set(num_calls_per_interval /
+ qps_gauge->Set(num_calls_per_interval /
metrics_collection_interval_secs_);
num_calls_per_interval = 0;