[ns] IntServ Estimator - Sample by packet instead of timeout period
Matyas W Egyhazy
matt.egyhazy at gmail.com
Wed Mar 22 20:14:01 PST 2006
Hi,
In the IntServ Estimator code (estimator.cc) it uses the following class
to control the interval at which the estimator executes its load
estimation code:
class Estimator_Timer : public TimerHandler {
public:
Estimator_Timer(Estimator *est) : TimerHandler() { est_ = est;}
protected:
virtual void expire(Event *e);
Estimator *est_;
};
I do not wish to use a timeout value based on time. Instead, I want to
sample after a certain number of packets (which have different sizes and
trasmission times) have been transmitted. Has this been done before and
is this possible in the IntServ model?
Thanks,
Matt
More information about the Ns-users
mailing list