A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nstime.h File Reference
#include "assert.h"
#include "attribute.h"
#include "attribute-helper.h"
#include "int64x64.h"
#include <stdint.h>
#include <math.h>
#include <ostream>
+ Include dependency graph for nstime.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ns3::Time::Information
struct  ns3::Time::Resolution
class  ns3::Time
 keep track of time unit. More...
class  ns3::TimeValue
 hold objects of type ns3::Time More...

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.

Functions

 ns3::ATTRIBUTE_ACCESSOR_DEFINE (Time)
 ns3::ATTRIBUTE_CHECKER_DEFINE (Time)
Time ns3::FemtoSeconds (uint64_t fs)
 create ns3::Time instances in units of femtoseconds.
Time ns3::FemtoSeconds (int64x64_t fs)
Time ns3::MicroSeconds (uint64_t us)
 create ns3::Time instances in units of microseconds.
Time ns3::MicroSeconds (int64x64_t us)
Time ns3::MilliSeconds (uint64_t ms)
 create ns3::Time instances in units of milliseconds.
Time ns3::MilliSeconds (int64x64_t ms)
Time ns3::NanoSeconds (uint64_t ns)
 create ns3::Time instances in units of nanoseconds.
Time ns3::NanoSeconds (int64x64_t ns)
bool ns3::operator!= (const Time &lhs, const Time &rhs)
Time ns3::operator+ (const Time &lhs, const Time &rhs)
Time & ns3::operator+= (Time &lhs, const Time &rhs)
Time ns3::operator- (const Time &lhs, const Time &rhs)
Time & ns3::operator-= (Time &lhs, const Time &rhs)
bool ns3::operator< (const Time &lhs, const Time &rhs)
std::ostream & ns3::operator<< (std::ostream &os, const Time &time)
bool ns3::operator<= (const Time &lhs, const Time &rhs)
bool ns3::operator== (const Time &lhs, const Time &rhs)
bool ns3::operator> (const Time &lhs, const Time &rhs)
bool ns3::operator>= (const Time &lhs, const Time &rhs)
std::istream & ns3::operator>> (std::istream &is, Time &time)
Time ns3::PicoSeconds (uint64_t ps)
 create ns3::Time instances in units of picoseconds.
Time ns3::PicoSeconds (int64x64_t ps)
Time ns3::Seconds (double seconds)
 create ns3::Time instances in units of seconds.
Time ns3::Seconds (int64x64_t seconds)
Time ns3::TimeStep (uint64_t ts)