simulations/scratch/bus-topology.cc
void SimulationUtils::ProgressNotifier(double TotalTime, double Interval)
{
	std::clog.precision(4);
	NS_LOG_UNCOND("Simulation Progress: " << ((Simulator::Now ().GetSeconds())*100/TotalTime) << " %");
	Simulator::Schedule(Seconds(Interval), &SimulationUtils::ProgressNotifier, this, TotalTime, Interval);
}
/**
 * Shows the simulation process in a human way (by percentages)
 */
Shows the simulation process in a human way (by percentages)
Shows the simulation process in a human way ( by percentages )
void SimulationUtils::ProgressNotifier(double TotalTime, double Interval)
{
	std::clog.precision(4);
	NS_LOG_UNCOND("Simulation Progress: " << ((Simulator::Now ().GetSeconds())*100/TotalTime) << " %");
	Simulator::Schedule(Seconds(Interval), &SimulationUtils::ProgressNotifier, this, TotalTime, Interval);
}
void SimulationUtils :: ProgressNotifier ( double TotalTime , double Interval ) { std :: clog . precision ( 4 ) ; NS_LOG_UNCOND ( " " << ( ( Simulator :: Now ( ) . GetSeconds ( ) ) * 100 / TotalTime ) << " " ) ; Simulator :: Schedule ( Seconds ( Interval ) , & SimulationUtils :: ProgressNotifier , this , TotalTime , Interval ) ; }
Shows the simulation process in a human way (by percentages)
Shows the simulation process in a human way ( by percentages )