diff options
author | 2016-02-11 06:05:24 -0800 | |
---|---|---|
committer | 2016-02-11 06:05:24 -0800 | |
commit | 1132c6b7db990d83fd178c927c39d0b67fa02778 (patch) | |
tree | 97a71efd97084efbc8c8935624f3704a1bf9b8e3 /test/cpp/qps/qps_interarrival_test.cc | |
parent | d472ad2a7fe19474409a5dff1afab5244072fda4 (diff) |
Simplify and properly implement openloop testing.
Revive it in tests as well
Diffstat (limited to 'test/cpp/qps/qps_interarrival_test.cc')
-rw-r--r-- | test/cpp/qps/qps_interarrival_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/qps_interarrival_test.cc b/test/cpp/qps/qps_interarrival_test.cc index dd32bcc0e3..48585af756 100644 --- a/test/cpp/qps/qps_interarrival_test.cc +++ b/test/cpp/qps/qps_interarrival_test.cc @@ -49,7 +49,7 @@ static void RunTest(RandomDistInterface &&r, int threads, std::string title) { for (int i = 0; i < 10000000; i++) { for (int j = 0; j < threads; j++) { - gpr_histogram_add(h, timer.next(j).count()); + gpr_histogram_add(h, timer.next(j)); } } |