Fix inter-departure time in "TrafficGen" application

3 views
Skip to first unread message

Sarra Sarah

unread,
Apr 9, 2016, 11:08:55 AM4/9/16
to OMNeT++ Users
Hi,
I want a fix  inter-departure time in "TrafficGen" application. is it right to change the code  TrafficGen.cc from:

scheduleAt(simTime() + (dblrand()*1.4+0.3)*packetTime * burstSize / pppt, msg);

to:
scheduleAt(simTime() + packetTime * burstSize / pppt, msg);

Any help please.
Reply all
Reply to author
Forward
0 new messages