The ns-3 Network Simulator Project
Enable support of ASCII traces in first.cc and collect the statistics
examples/tutorial/first.cc is a basic C++ program provided for ns-3 beginners. A line by line explanation of first.cc is provided in the ns-3 tutorial. Understand the working of first.cc from the tutorial, and then proceed with the following steps:
- Copy first.cc from examples/tutorial and paste it in scratch directory.
- Modify first.cc in scratch directory to enable the support of ASCII traces. You can see examples/tcp/tcp-bulk-send.cc as a reference to do this.
- Ensure that the ASCII trace file is generated for first.cc. Attach the trace file for evaluation.
- Make a patch with the modifications made in first.cc and send it for evaluation.
- Download 'TraceMetrics' tool. It is a trace file analyzer for ns-3.
- Load the trace file generated for first.cc in TraceMetrics and send a snapshot of the statistics shown in TraceMetrics.
Task tags
Students who completed this task
Parth Pratim, Asanali, sikfeng, bartekche, Victor Hu