src/simulator/nstime.h
changeset 681 e1696c31b6eb
parent 679 0c4773ca0f29
child 682 d876b6dfb32e
--- a/src/simulator/nstime.h	Thu May 24 09:11:46 2007 +0200
+++ b/src/simulator/nstime.h	Thu May 24 09:18:42 2007 +0200
@@ -450,7 +450,7 @@
  * the return value of the ns3::Simulator::Now method
  * and is needed for the Simulator::Schedule methods
  *
- * Time instances can be created through any of the following classes:
+ * Time instances can be created through any of the following functions:
  *  - ns3::Seconds
  *  - ns3::MilliSeconds
  *  - ns3::MicroSeconds
@@ -496,6 +496,18 @@
  * \endcode
  * returns an approximation in nanoseconds of the time stored in this
  *          instance.
+ *
+ * \code
+ * int64_t GetPicoSeconds (void) const;
+ * \endcode
+ * returns an approximation in picoseconds of the time stored in this
+ *          instance.
+ *
+ * \code
+ * int64_t GetFemtoSeconds (void) const;
+ * \endcode
+ * returns an approximation in femtoseconds of the time stored in this
+ *          instance.
  */
 typedef TimeUnit<1> Time;
 
@@ -563,15 +575,8 @@
  * \endcode
  */
 Time FemtoSeconds (uint64_t fs);
-/**
- * \brief create ns3::Time instances in units of m_tsPrecision.
- *
- * For example:
- * \code
- * Time t = TimeStep (2);
- * Simulator::Schedule (TimeStep (5), ...);
- * \endcode
- */
+
+// internal function not publicly documented
 Time TimeStep (uint64_t ts);
 
 // Explicit instatiation of the TimeUnit template for N=0, with a few