Flow Monitor - ns3 Flow monitor is a powerful too that identifies the performance characteristics of networks Flow Monitor Already there are some examples within ns3. We will be using one example called as third.cc and another example called as manet-routing-compare.cc Check the Video for complete instructions: Download all the source Codes here: https://drive.google.com/drive/folders/14B7QtvAgaiDvBtf-cn8R_mseUYorWkRN?usp=sharing Step 1: Copy the above files from examples/tutorial/third.cc and move it to scratch/ folder Copy manet-routing-compare.cc from examples/routing/ and move it to scratch/ Step 2: Include the code relevant for flow monitor. There are two header files to be included #include "ns3/flow-monitor.h" #include "ns3/flow-monitor-helper.h" Include the following lines above the Simulator::Stop() // Flow monitor Ptr<FlowMonitor> flowMonitor; FlowMonitorHelper flowHelper; flowMonitor = flowHelper.InstallAll(); include...
Its all about Network Simulations (NS2, NS3), Internet of Things, Sensor Networks, Programming, Embedded Systems, Cyber Physical Systems, etc