Skip to content

Commit 7d1601f

Browse files
author
srenevic
committed
data
1 parent 6bbbf9e commit 7d1601f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scratch/sample1.cc

+3
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,10 @@ main (int argc, char *argv[])
339339
*utilstream->GetStream () << Simulator::Now ().GetSeconds () << "\t" << devices.Get(0)<<"\t"<<bitrate.GetBitRate()<<"\t"<<0 << std::endl;
340340
*utilstream->GetStream () << Simulator::Now ().GetSeconds () << "\t" << devices.Get(1)<<"\t"<<bitrate.GetBitRate()<<"\t"<<0 << std::endl;
341341

342+
342343
Simulator::Schedule (Seconds (1.0), &DataChange, devices.Get(0)->GetObject<PointToPointNetDevice>());
344+
Simulator::Schedule (Seconds (1.0), &DataChange, devices.Get(1)->GetObject<PointToPointNetDevice>());
345+
343346
//std::ostringstream devosstr;
344347
//devosstr << folder << "/p2pdevice_0.tr";
345348
//Ptr<OutputStreamWrapper> streamtrdev = asciiTraceHelper.CreateFileStream (devosstr.str());

0 commit comments

Comments
 (0)