[ndnSIM] About number of incoming and dropped interests in ndnSIMsimulator
madhurima buragohain
madhurimajya at gmail.com
Sun Jun 17 07:31:39 PDT 2018
I am using ConsumerZipfMandelbrot
void
ConsumerZipfMandelbrot::ScheduleNextPacket()
{
if (m_firstTime) {
m_sendEvent = Simulator::Schedule(Seconds(0.0),
&ConsumerZipfMandelbrot::SendPacket, this);
m_firstTime = false;
}
else if (!m_sendEvent.IsRunning())
/*m_sendEvent = Simulator::Schedule((m_random == 0) ? Seconds(1.0 /
m_frequency)
:
Seconds(m_random->GetValue()),
&ConsumerZipfMandelbrot::SendPacket,
this);*/
m_sendEvent = Simulator::Schedule( Seconds(1.0 / m_frequency)
,
&ConsumerZipfMandelbrot::SendPacket, this);
}
Here next packets are scheduled after (1.0 / m_frequency). The value will
be some constant. So I thought the number of incoming interests be same.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180617/cb677b10/attachment.html>
More information about the ndnSIM
mailing list