diff options
author | Sree Kuchibhotla <sreek@google.com> | 2016-04-22 09:50:46 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2016-04-22 10:17:28 -0700 |
commit | 3714e302c06a907b7af42a478beae3321b07c70a (patch) | |
tree | aad30e50a8881432e34621d65ae038e167098338 /test/cpp/interop/stress_interop_client.h | |
parent | 241dea56c8f3688c17c01c96edb497ab89fce582 (diff) |
Simplify QPS Metrics collection
Diffstat (limited to 'test/cpp/interop/stress_interop_client.h')
-rw-r--r-- | test/cpp/interop/stress_interop_client.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/cpp/interop/stress_interop_client.h b/test/cpp/interop/stress_interop_client.h index 6fd303d6b7..cb0cd98821 100644 --- a/test/cpp/interop/stress_interop_client.h +++ b/test/cpp/interop/stress_interop_client.h @@ -87,12 +87,11 @@ class StressTestInteropClient { StressTestInteropClient(int test_id, const grpc::string& server_address, std::shared_ptr<Channel> channel, const WeightedRandomTestSelector& test_selector, - long test_duration_secs, long sleep_duration_ms, - long metrics_collection_interval_secs); + long test_duration_secs, long sleep_duration_ms); // The main function. Use this as the thread entry point. - // qps_gauge is the Gauge to record the requests per second metric - void MainLoop(std::shared_ptr<Gauge> qps_gauge); + // qps_gauge is the QpsGauge to record the requests per second metric + void MainLoop(std::shared_ptr<QpsGauge> qps_gauge); private: void RunTest(TestCaseType test_case); @@ -104,7 +103,6 @@ class StressTestInteropClient { const WeightedRandomTestSelector& test_selector_; long test_duration_secs_; long sleep_duration_ms_; - long metrics_collection_interval_secs_; }; } // namespace testing |