more dox improvements

This commit is contained in:
Mathieu Lacage
2007-05-24 09:22:48 +02:00
parent 7436c51592
commit cd0c502986
2 changed files with 9 additions and 5 deletions

View File

@@ -448,7 +448,9 @@ private:
*
* This is an instance of type ns3::TimeUnit<1>: it is
* the return value of the ns3::Simulator::Now method
* and is needed for the Simulator::Schedule methods
* and is needed for the Simulator::Schedule methods.
* The precision of the underlying Time unit can be
* changed with calls to TimeStepPrecision::Set.
*
* Time instances can be created through any of the following functions:
* - ns3::Seconds

View File

@@ -37,11 +37,13 @@ class SchedulerFactory;
* \brief Control the scheduling of simulation events.
*
* The internal simulation clock is maintained
* as a 64-bit integer in nanosecond units. This means that it is
* as a 64-bit integer in a unit specified by the user
* through the TimeStepPrecision::Set function. This means that it is
* not possible to specify event expiration times with anything better
* than nanosecond accuracy. Events whose expiration time is
* the same are scheduled in FIFO order: the first event inserted in the
* Scheduling queue is scheduled to expire first.
* than this user-specified accuracy. Events whose expiration time is
* the same modulo this accuracy are scheduled in FIFO order: the
* first event inserted in the scheduling queue is scheduled to
* expire first.
*
* A simple example of how to use the Simulator class to schedule events
* is shown below: