O'Reilly logo

Learning OMNeT++ by Thomas Chamberlain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Analysis of the Tictoc example project

Let's use the event log to have a detailed look into the Tictoc example that we created earlier. First, modify the configuration file to contain the following new line:

record-eventlog = true

Run the simulation until at least 20-30 events have occurred. Now navigate to the Results folder and open the .elog file. You will see the following screenshot:

Analysis of the Tictoc example project

This is a very clear overview of the simulation that was run. You can see the time that has passed for each event that has occurred at the bottom in yellow. The blue lines show the messages going back and forth between the two lines named Tictoc.tic, and Tictoc.toc ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required