MCPcopy Create free account
hub / github.com/HackWebRTC/webrtc / TryUseRate

Method TryUseRate

rtc_base/rate_limiter.cc:33–53  ·  view source on GitHub ↗

Usage note: This class is intended be usable in a scenario where different threads may call each of the the different method. For instance, a network thread trying to send data calling TryUseRate(), the bandwidth estimator calling SetMaxRate() and a timed maintenance thread periodically updating the RTT.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

ReSendPacketMethod · 0.80
TEST_FFunction · 0.80
DoRunMethod · 0.80

Calls 3

TimeInMillisecondsMethod · 0.45
RateMethod · 0.45
UpdateMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
DoRunMethod · 0.64