#include <flow_control.h>
Definition at line 145 of file flow_control.h.
◆ TransportFlowControl()
grpc_core::chttp2::TransportFlowControl::TransportFlowControl |
( |
const char * |
name, |
|
|
bool |
enable_bdp_probe, |
|
|
MemoryOwner * |
memory_owner |
|
) |
| |
|
explicit |
◆ ~TransportFlowControl()
grpc_core::chttp2::TransportFlowControl::~TransportFlowControl |
( |
| ) |
|
|
inline |
◆ acked_init_window()
uint32_t grpc_core::chttp2::TransportFlowControl::acked_init_window |
( |
| ) |
const |
|
inline |
◆ announced_stream_total_over_incoming_window()
int64_t grpc_core::chttp2::TransportFlowControl::announced_stream_total_over_incoming_window |
( |
| ) |
const |
|
inline |
◆ announced_window()
int64_t grpc_core::chttp2::TransportFlowControl::announced_window |
( |
| ) |
const |
|
inline |
◆ bdp_estimator()
BdpEstimator* grpc_core::chttp2::TransportFlowControl::bdp_estimator |
( |
| ) |
|
|
inline |
◆ bdp_probe()
bool grpc_core::chttp2::TransportFlowControl::bdp_probe |
( |
| ) |
const |
|
inline |
◆ MaybeSendUpdate()
uint32_t grpc_core::chttp2::TransportFlowControl::MaybeSendUpdate |
( |
bool |
writing_anyway | ) |
|
◆ PeriodicUpdate()
◆ remote_window()
int64_t grpc_core::chttp2::TransportFlowControl::remote_window |
( |
| ) |
const |
|
inline |
◆ RemoveAnnouncedWindowDelta()
void grpc_core::chttp2::TransportFlowControl::RemoveAnnouncedWindowDelta |
( |
int64_t |
delta | ) |
|
|
inline |
◆ SetAckedInitialWindow()
void grpc_core::chttp2::TransportFlowControl::SetAckedInitialWindow |
( |
uint32_t |
value | ) |
|
|
inline |
◆ SmoothLogBdp()
double grpc_core::chttp2::TransportFlowControl::SmoothLogBdp |
( |
double |
value | ) |
|
|
private |
◆ target_frame_size()
int64_t grpc_core::chttp2::TransportFlowControl::target_frame_size |
( |
| ) |
const |
|
inline |
◆ target_window()
int64_t grpc_core::chttp2::TransportFlowControl::target_window |
( |
| ) |
const |
◆ TargetLogBdp()
double grpc_core::chttp2::TransportFlowControl::TargetLogBdp |
( |
| ) |
|
|
private |
◆ UpdateAction()
◆ UpdateSetting()
◆ acked_init_window_
◆ announced_stream_total_over_incoming_window_
int64_t grpc_core::chttp2::TransportFlowControl::announced_stream_total_over_incoming_window_ = 0 |
|
private |
calculating what we should give for local window: we track the total amount of flow control over initial window size across all streams: this is data that we want to receive right now (it has an outstanding read) and the total amount of flow control under initial window size across all streams: this is data we've read early we want to adjust incoming_window such that: incoming_window = total_over - max(bdp - total_under, 0)
Definition at line 272 of file flow_control.h.
◆ announced_window_
◆ bdp_estimator_
BdpEstimator grpc_core::chttp2::TransportFlowControl::bdp_estimator_ |
|
private |
◆ enable_bdp_probe_
const bool grpc_core::chttp2::TransportFlowControl::enable_bdp_probe_ |
|
private |
◆ last_pid_update_
Timestamp grpc_core::chttp2::TransportFlowControl::last_pid_update_ |
|
private |
◆ memory_owner_
◆ pid_controller_
PidController grpc_core::chttp2::TransportFlowControl::pid_controller_ |
|
private |
◆ remote_window_
◆ target_frame_size_
◆ target_initial_window_size_
The documentation for this class was generated from the following files: