aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-05-18 17:46:33 -0700
committerGravatar GitHub <noreply@github.com>2017-05-18 17:46:33 -0700
commite6bf7d054cadd008aa2edbedcaa7963aedb91dcd (patch)
treeefd7d7cba97c3129520f3e013de31026452d67b4 /test
parente77ba09b970258954297d3d4311fc616d9ea331a (diff)
parent4c4272923b49e28112522b3d19321a5028df90b0 (diff)
Merge pull request #10930 from ncteisen/frame-size
Set Frame Size to Bytes per Microsecond
Diffstat (limited to 'test')
-rw-r--r--test/cpp/microbenchmarks/bm_fullstack_trickle.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack_trickle.cc b/test/cpp/microbenchmarks/bm_fullstack_trickle.cc
index 6b9fa8b38d..d7e3a9cf47 100644
--- a/test/cpp/microbenchmarks/bm_fullstack_trickle.cc
+++ b/test/cpp/microbenchmarks/bm_fullstack_trickle.cc
@@ -101,6 +101,8 @@ class TrickledCHTTP2 : public EndpointPairFixture {
}
void AddToLabel(std::ostream& out, benchmark::State& state) {
+ grpc_chttp2_transport* client =
+ reinterpret_cast<grpc_chttp2_transport*>(client_transport_);
out << " writes/iter:"
<< ((double)stats_.num_writes / (double)state.iterations())
<< " cli_transport_stalls/iter:"
@@ -116,7 +118,8 @@ class TrickledCHTTP2 : public EndpointPairFixture {
(double)state.iterations())
<< " svr_stream_stalls/iter:"
<< ((double)server_stats_.streams_stalled_due_to_stream_flow_control /
- (double)state.iterations());
+ (double)state.iterations())
+ << " cli_bw_est:" << (double)client->bdp_estimator.bw_est;
}
void Log(int64_t iteration) {