OpenSim/Region/ClientStack/Linden/UDP/TokenBucket.cs
/// <summary>
/// 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.
/// </summary>
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.
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 .
protected double DripRateModifier()
        {
            Int64 driprate = DripRate;
            double modifier = driprate >= TotalDripRequest ? 1.0 : (double)driprate / (double)TotalDripRequest;
            return modifier;
        }
protected double DripRateModifier ( ) { Int64 driprate = DripRate ; double modifier = driprate >= TotalDripRequest ? 1.0 : ( double ) driprate / ( double ) TotalDripRequest ; return modifier ; }
Compute a modifier for the MaxBurst rate.
Compute a modifier for the MaxBurst rate .
//            if (DebugLevel > 0) //                m_log.DebugFormat( //                    "[TOKEN BUCKET]: Returning drip modifier {0}/{1} = {2} from {3}",  //                    driprate, TotalDripRequest, modifier, Identifier);