[Ns-developers] ns3 operator << for Time objects
raj.b at gatech.edu
Mon Jul 2 09:29:48 PDT 2007
On 7/2/07, Mathieu Lacage <Mathieu.Lacage at sophia.inria.fr> wrote:
> I just tried to do the following:
> std::cout << Simulator::Now << std::endl;
> and I get something like the following:
> which (I think) says that I am 40 "time steps" into the simulation. This
> output is not super useful and it would be nice if it could print the
> actual time unit. Is there someone who knows where the operator <<
> (std::ostream) is implemented for Time objects to allow me to patch
> this ?
It is in: ns-3-dev/src/simulator/time.cc , line 91.
Georgia Institute of Technology
School of Electrical and Computer Engineering
More information about the Ns-developers