119   explicit inline Time (
double v)
 
  135   explicit inline Time (
long int v)
 
  143   explicit inline Time (
long long int v)
 
  151   explicit inline Time (
unsigned int v)
 
  159   explicit inline Time (
unsigned long int v)
 
  167   explicit inline Time (
unsigned long long int v)
 
  191   explicit Time (
const std::string & 
s);
 
  198     return Time (std::numeric_limits<int64_t>::min ());
 
  205     return Time (std::numeric_limits<int64_t>::max ());
 
  393     return From (int64x64_t (value), timeUnit);
 
  404     return To (timeUnit).GetDouble ();
 
  411     int64x64_t retval = from;
 
  418         retval.MulByInvert (info->
timeFrom);
 
  420     return Time (retval);
 
  422   inline int64x64_t 
To (
enum Unit timeUnit)
 const 
  425     int64x64_t retval = int64x64_t (
m_data);
 
  432         retval.MulByInvert (info->
timeTo);
 
  436   inline operator int64x64_t ()
 const 
  438     return int64x64_t (
m_data);
 
  440   explicit inline Time (
const int64x64_t &value)
 
  441     : 
m_data (value.GetHigh ())
 
  486                              const bool convert = 
true);
 
  544   static void Mark (
Time * 
const time);
 
  633 inline Time 
Abs (
const Time &time)
 
  635   return Time ((time.m_data < 0) ? -time.m_data : time.m_data);
 
  644 inline Time 
Max (
const Time &ta, 
const Time &tb)
 
  646   return Time ((ta.m_data < tb.m_data) ? tb : ta);
 
  665 std::ostream& 
operator<< (std::ostream& os, 
const Time & time);
 
  672 std::istream& 
operator>> (std::istream& is, Time & time);
 
static struct Resolution * PeekResolution(void)
 
Time Seconds(double seconds)
create ns3::Time instances in units of seconds. 
 
std::istream & operator>>(std::istream &is, Angles &a)
 
keep track of time values and allow control of global simulation resolution 
 
#define ATTRIBUTE_VALUE_DEFINE(type)
 
smart pointer class similar to boost::intrusive_ptr 
 
bool IsPositive(void) const 
 
int64x64_t Abs(const int64x64_t &value)
 
Time(const int64x64_t &value)
 
Time MilliSeconds(uint64_t ms)
create ns3::Time instances in units of milliseconds. 
 
double ToDouble(enum Unit timeUnit) const 
 
Control the scheduling of simulation events. 
 
Time MilliSeconds(int64x64_t ms)
 
static Time Min()
Minimum representable Time. 
 
Time TimeStep(uint64_t ts)
 
Time PicoSeconds(uint64_t ps)
create ns3::Time instances in units of picoseconds. 
 
Time FemtoSeconds(int64x64_t fs)
 
friend bool operator<(const Time &lhs, const Time &rhs)
 
friend bool operator!=(const Time &lhs, const Time &rhs)
 
int64_t ToInteger(enum Unit timeUnit) const 
 
bool operator>(const Time &lhs, const Time &rhs)
 
static Time From(const int64x64_t &value)
 
bool operator<(const Room &a, const Room &b)
 
int64_t GetFemtoSeconds(void) const 
 
Time NanoSeconds(int64x64_t ns)
 
Time(unsigned long int v)
 
Time FemtoSeconds(uint64_t fs)
create ns3::Time instances in units of femtoseconds. 
 
int Compare(const Time &o) const 
 
Time Seconds(int64x64_t seconds)
 
Time MicroSeconds(int64x64_t us)
 
friend Time operator-(const Time &lhs, const Time &rhs)
 
static Time FromDouble(double value, enum Unit timeUnit)
 
struct Information info[LAST]
Conversion info from current unit. 
 
static bool NS_UNUSED_GLOBAL(g_TimeStaticInit)
 
friend Time operator+(const Time &lhs, const Time &rhs)
 
static Time Max()
Maximum representable Time. 
 
friend Time Abs(const Time &time)
 
double GetSeconds(void) const 
 
Time & operator+=(Time &lhs, const Time &rhs)
 
static enum Unit GetResolution(void)
 
int64_t GetMicroSeconds(void) const 
 
friend Time & operator-=(Time &lhs, const Time &rhs)
 
Time MicroSeconds(uint64_t us)
create ns3::Time instances in units of microseconds. 
 
bool IsStrictlyPositive(void) const 
 
Time NanoSeconds(uint64_t ns)
create ns3::Time instances in units of nanoseconds. 
 
static void ConvertTimes(const enum Unit unit)
 
Time PicoSeconds(int64x64_t ps)
 
friend bool operator>=(const Time &lhs, const Time &rhs)
 
Time operator+(const Time &lhs, const Time &rhs)
 
int64x64_t Min(const int64x64_t &a, const int64x64_t &b)
 
ATTRIBUTE_ACCESSOR_DEFINE(Boolean)
 
static struct Resolution SetDefaultNsResolution(void)
 
int64x64_t Max(const int64x64_t &a, const int64x64_t &b)
 
bool operator<=(const Time &lhs, const Time &rhs)
 
std::ostream & operator<<(std::ostream &os, const Angles &a)
 
Time & operator-=(Time &lhs, const Time &rhs)
 
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
 
Time(unsigned long long int v)
 
bool operator>=(const Time &lhs, const Time &rhs)
 
friend Time & operator+=(Time &lhs, const Time &rhs)
 
friend bool operator==(const Time &lhs, const Time &rhs)
 
bool IsNegative(void) const 
 
int64_t GetTimeStep(void) const 
 
int64_t GetInteger(void) const 
 
Time operator-(const Time &lhs, const Time &rhs)
 
double GetDouble(void) const 
 
static struct Information * PeekInformation(enum Unit timeUnit)
 
int64_t GetNanoSeconds(void) const 
 
static void Mark(Time *const time)
 
friend bool operator>(const Time &lhs, const Time &rhs)
 
static Time FromInteger(uint64_t value, enum Unit timeUnit)
 
int64_t GetPicoSeconds(void) const 
 
bool operator==(const EventId &a, const EventId &b)
 
enum Time::Unit unit
Current time unit. 
 
bool IsStrictlyNegative(void) const 
 
static void SetResolution(enum Unit resolution)
 
Ptr< const AttributeChecker > MakeTimeChecker(const Time min, const Time max)
Helper to make a Time checker with bounded range. Both limits are inclusive. 
 
static void Clear(Time *const time)
 
std::set< Time * > MarkedTimes
 
static MarkedTimes * g_markingTimes
 
static void ClearMarkedTimes()
 
friend bool operator<=(const Time &lhs, const Time &rhs)
 
int64_t GetMilliSeconds(void) const 
 
Time & operator=(const Time &o)
 
static Time From(const int64x64_t &from, enum Unit timeUnit)
 
int64_t m_data
Virtual time value, in the current unit. 
 
int64x64_t To(enum Unit timeUnit) const