The ns-3 Network Simulator Project

Enable support of ASCII traces in tcp-bulk-send.cc and collect the statistics

This task is about learning how to use TraceMetrics to obtain statistics. The following steps must be followed to complete this task:

  1. Copy tcp-bulk-send.cc from examples/tcp and paste it in scratch directory.
  2. Enable ASCII traces while running the program (See command line arguments).
  3. Ensure that the ASCII trace file is generated for tcp-bulk-send.cc (tcp-bulk-send.tr must be generated after running the program).
  4. Download 'TraceMetrics' tool. It is a trace file analyzer for ns-3.
  5. Load the trace file generated for tcp-bulk-send.cc in TraceMetrics and send a snapshot of the statistics shown in TraceMetrics.

Task tags

  • tracing
  • tracemetrics
  • ascii
  • c++

Students who completed this task

Kr0n0s, SaiMyGuy, hax0kartik, howie

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
  • assessment Outreach / Research
close

2019