ssnetsim / supersim

A flexible event-driven cycle-accurate network simulator
Apache License 2.0
8 stars 1 forks source link

Fix num routers and router radix assumption in info logging #8

Closed nicmcd closed 4 years ago

nicmcd commented 4 years ago

Fixes #5. Modified main.cc to read all router radices and print distribution. Will work with zero routers as well. Here is a sample output of a InfoLog:

Endpoints,60                                   
Routers,45                                                
Router radix 7,45                                   
VCs,1                                          
Components,3316                                      
Total event count,26937118 
Total sim units,55995000                       
Total real seconds,6.407172
Events per real second,4204213.457067              
Events per sim unit,0.481063                                
Sim units per real second,8739425.373141      

bazel test :* passes all unit tests ./scripts/run_examples.py passes all checks

nicmcd commented 4 years ago

Sweeping through all routers found a bug in the dragonfly network. See e6e83e3. All unit tests and examples now pass.