Skip to content

Commit

Permalink
Use SetTimeStep() instead of deprecated TimeStep attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
bpe2 committed May 3, 2022
1 parent e58e925 commit beaf168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/throughput-sink-example-netsimulyzer.cc
Expand Up @@ -141,7 +141,7 @@ main (int argc, char *argv[])
auto orchestrator = CreateObject<netsimulyzer::Orchestrator> (outputFileName);

// Suggest a faster playback, since not too much happens (optional)
orchestrator->SetAttribute ("TimeStep", netsimulyzer::OptionalValue<int>{100});
orchestrator->SetTimeStep(MilliSeconds(100), Time::MS);

// The Nodes don't move during the simulation, so disable mobility polling (Optional)
orchestrator->SetAttribute ("PollMobility", BooleanValue (false));
Expand Down

0 comments on commit beaf168

Please sign in to comment.