src/simulator/nstime.h
changeset 163 2a7e05018eeb
parent 162 5b398ac221c7
child 170 9f68cb694f40
equal deleted inserted replaced
162:5b398ac221c7 163:2a7e05018eeb
   305 
   305 
   306   /**
   306   /**
   307    * \returns an approximation in seconds of the time stored in this
   307    * \returns an approximation in seconds of the time stored in this
   308    *          instance.
   308    *          instance.
   309    */
   309    */
   310   double ApproximateToSeconds (void) const;
   310   double GetSeconds (void) const;
   311   /**
   311   /**
   312    * \returns an approximation in milliseconds of the time stored in this
   312    * \returns an approximation in milliseconds of the time stored in this
   313    *          instance.
   313    *          instance.
   314    */
   314    */
   315   int32_t ApproximateToMilliSeconds (void) const;
   315   int32_t GetMilliSeconds (void) const;
   316   /**
   316   /**
   317    * \returns an approximation in microseconds of the time stored in this
   317    * \returns an approximation in microseconds of the time stored in this
   318    *          instance.
   318    *          instance.
   319    */
   319    */
   320   int64_t ApproximateToMicroSeconds (void) const;
   320   int64_t GetMicroSeconds (void) const;
   321   /**
   321   /**
   322    * \returns an approximation in nanoseconds of the time stored in this
   322    * \returns an approximation in nanoseconds of the time stored in this
   323    *          instance.
   323    *          instance.
   324    */
   324    */
   325   int64_t ApproximateToNanoSeconds (void) const;
   325   int64_t GetNanoSeconds (void) const;
   326 };
   326 };
   327 
   327 
   328 /**
   328 /**
   329  * \brief create ns3::Time instances in units of seconds.
   329  * \brief create ns3::Time instances in units of seconds.
   330  *
   330  *