#include "nstime.h"
#include "ns3/fatal-error.h"
#include "ns3/global-value.h"
#include "ns3/enum.h"
#include "ns3/string.h"
#include "ns3/object.h"
#include "ns3/config.h"
#include <math.h>
#include "ns3/test.h"
Go to the source code of this file.
Classes | |
class | ns3::TimeTests |
Namespaces | |
namespace | ns3 |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
namespace | ns3::TimeStepPrecision |
Functions | |
precision_t | ns3::TimeStepPrecision::Get (void) |
void | ns3::TimeStepPrecision::Set (precision_t precision) |
std::ostream & | ns3::operator<< (std::ostream &os, const Time &time) |
std::istream & | ns3::operator>> (std::istream &is, Time &time) |
Time | ns3::Seconds (double seconds) |
create ns3::Time instances in units of seconds. | |
ns3::ATTRIBUTE_VALUE_IMPLEMENT (Time) | |
ns3::ATTRIBUTE_CHECKER_IMPLEMENT (Time) | |
Time | ns3::MilliSeconds (uint64_t ms) |
create ns3::Time instances in units of milliseconds. | |
Time | ns3::MicroSeconds (uint64_t us) |
create ns3::Time instances in units of microseconds. | |
Time | ns3::NanoSeconds (uint64_t ns) |
create ns3::Time instances in units of nanoseconds. | |
Time | ns3::PicoSeconds (uint64_t ps) |
create ns3::Time instances in units of picoseconds. | |
Time | ns3::FemtoSeconds (uint64_t fs) |
create ns3::Time instances in units of femtoseconds. | |
Time | ns3::TimeStep (uint64_t ts) |
Variables | |
static const uint64_t | ns3::TimeStepPrecision::MS_FACTOR = (uint64_t)pow(10,3) |
static const uint64_t | ns3::TimeStepPrecision::US_FACTOR = (uint64_t)pow(10,6) |
static const uint64_t | ns3::TimeStepPrecision::NS_FACTOR = (uint64_t)pow(10,9) |
static const uint64_t | ns3::TimeStepPrecision::PS_FACTOR = (uint64_t)pow(10,12) |
static const uint64_t | ns3::TimeStepPrecision::FS_FACTOR = (uint64_t)pow(10,15) |
static uint64_t | ns3::TimeStepPrecision::g_tsPrecFactor = NS_FACTOR |
static GlobalValue | ns3::TimeStepPrecision::g_precisionDefaultValue ("TimeStepPrecision","The time unit of the internal 64 bit integer time.", EnumValue(NS), MakeEnumChecker(NS,"NS", S,"S", MS,"MS", US,"US", PS,"PS", FS,"FS")) |
static TimeTests | ns3::g_time_tests |