diff -r c1bd4ffb5e47 examples/mesh.cc --- a/examples/mesh.cc Tue Sep 29 10:16:17 2009 -0700 +++ b/examples/mesh.cc Tue Sep 29 23:42:18 2009 +0400 @@ -102,12 +102,12 @@ void Report (); }; MeshTest::MeshTest () : - m_xSize (3), - m_ySize (3), + m_xSize (5), + m_ySize (5), m_step (100.0), m_randomStart (0.1), - m_totalTime (100.0), - m_packetInterval (0.1), + m_totalTime (2000.0), + m_packetInterval (0.05), m_packetSize (1024), m_nIfaces (1), m_chan (true), @@ -216,7 +216,7 @@ CreateNodes (); InstallInternetStack (); InstallApplication (); - Simulator::Schedule (Seconds(m_totalTime), & MeshTest::Report, this); +// Simulator::Schedule (Seconds(m_totalTime), & MeshTest::Report, this); Simulator::Stop (Seconds (m_totalTime)); Simulator::Run (); Simulator::Destroy (); diff -r c1bd4ffb5e47 examples/wifi-wired-bridging.cc --- a/examples/wifi-wired-bridging.cc Tue Sep 29 10:16:17 2009 -0700 +++ b/examples/wifi-wired-bridging.cc Tue Sep 29 23:42:18 2009 +0400 @@ -182,7 +182,7 @@ onoff.SetAttribute ("OffTime", RandomVariableValue (ConstantVariable (0))); ApplicationContainer apps = onoff.Install (staNodes[0].Get (0)); apps.Start (Seconds (0.5)); - apps.Stop (Seconds (3.0)); + apps.Stop (Seconds (3000.0)); wifiPhy.EnablePcap ("wifi-wired-bridging", apDevices[0]); wifiPhy.EnablePcap ("wifi-wired-bridging", apDevices[1]); @@ -191,7 +191,7 @@ os.open ("wifi-wired-bridging.mob"); MobilityHelper::EnableAsciiAll (os); - Simulator::Stop (Seconds (100.0)); + Simulator::Stop (Seconds (5000.0)); Simulator::Run (); Simulator::Destroy (); }