|
const float | m_minimumFlow = 50000 |
| The minimum rate for flow control. Minimum drip rate is one packet per second. More...
|
|
float | m_maxDripRate = 0 |
|
const float | m_timeScale = 1e-3f |
|
const float | m_quantumsPerBurst = 5 |
| This is the number of m_minimumDripRate bytes allowed in a burst roughtly, with this settings, the maximum time system will take to recheck a bucket in ms More...
|
|
const float | m_minimumDripRate = 1500 |
|
Int32 | m_lastDrip |
| Time of the last drip, in system ticks More...
|
|
float | m_tokenCount |
| The number of bytes that can be sent at this moment. This is the current number of tokens in the bucket More...
|
|
Dictionary< TokenBucket, float > | m_children = new Dictionary<TokenBucket, float>() |
| Map of children buckets and their requested maximum burst rate More...
|
|
TokenBucket | m_parent |
| The parent bucket of this bucket, or null if this bucket has no parent. The parent bucket will limit the aggregate bandwidth of all of its children buckets More...
|
|
float | m_burst |
| This is the maximum number of tokens that can accumulate in the bucket at any one time. This also sets the total request for leaf nodes More...
|
|
float | m_dripRate |
| The requested drip rate for this particular bucket. More...
|
|
float | m_totalDripRequest |
| The current total of the requested maximum burst rates of children buckets. More...
|
|
|
float | DripRateModifier () |
| Compute a modifier for the MaxBurst rate. This is 1.0, meaning no modification if the requested bandwidth is less than the max burst bandwidth all the way to the root of the throttle hierarchy. However, if any of the parents is over-booked, then the modifier will be less than 1. More...
|
|
float | BurstModifier () |
|
void | Drip () |
| Add tokens to the bucket over time. The number of tokens added each call depends on the length of time that has passed since the last call to Drip More...
|
|
Definition at line 331 of file TokenBucket.cs.
OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.AdaptiveTokenBucket |
( |
TokenBucket |
parent, |
|
|
float |
maxDripRate, |
|
|
float |
maxBurst, |
|
|
bool |
enabled |
|
) |
| |
|
inline |
void OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.AcknowledgePackets |
( |
Int32 |
count | ) |
|
|
inline |
void OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.ExpirePackets |
( |
Int32 |
count | ) |
|
|
inline |
Reliable packets sent to the client for which we never received an ack adjust the drip rate down.
- Parameters
-
packets | Number of packets that expired without successful delivery |
Definition at line 397 of file TokenBucket.cs.
float OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.m_maxDripRate = 0 |
|
protected |
const float OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.m_minimumFlow = 50000 |
|
protected |
The minimum rate for flow control. Minimum drip rate is one packet per second.
Definition at line 342 of file TokenBucket.cs.
bool OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.AdaptiveEnabled |
|
getset |
virtual float OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.AdjustedDripRate |
|
getset |
override float OpenSim.Region.ClientStack.LindenUDP.AdaptiveTokenBucket.MaxDripRate |
|
getset |
The documentation for this class was generated from the following file: