ns3::Time, ns3::TimeWithUnit and ns3::TimeValue attribute value implementations. More...
#include "abort.h"
#include "log.h"
#include "nstime.h"
#include <cmath>
#include <iomanip>
#include <mutex>
#include <sstream>
Go to the source code of this file.
Namespaces | |
ns3 | |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
ns3::anonymous_namespace{time.cc} | |
Unnamed namespace. | |
Functions | |
Ptr< const AttributeChecker > | ns3::MakeTimeChecker (const Time min, const Time max) |
Helper to make a Time checker with bounded range. More... | |
std::ostream & | ns3::operator<< (std::ostream &os, const Time &time) |
Time output streamer. More... | |
std::ostream & | ns3::operator<< (std::ostream &os, const TimeWithUnit &timeU) |
std::istream & | ns3::operator>> (std::istream &is, Time &time) |
Time input streamer. More... | |
Variables | |
static std::mutex | ns3::g_markingMutex |
The static mutex for critical sections around modification of Time::g_markingTimes. More... | |
long double * | ns3::anonymous_namespace{time.cc}::InitUnitValue () |
Initializer for UNIT_VALUE . More... | |
long double | ns3::anonymous_namespace{time.cc}::Scale (Time::Unit u) |
Scale a unit to the smallest unit. More... | |
const int32_t | ns3::anonymous_namespace{time.cc}::UNIT_COEFF [Time::LAST] = {315360, 864, 36, 6, 1, 1, 1, 1, 1, 1} |
Scaling coefficient, relative to smallest unit. More... | |
const int8_t | ns3::anonymous_namespace{time.cc}::UNIT_POWER [Time::LAST] = {17, 17, 17, 16, 15, 12, 9, 6, 3, 0} |
Scaling coefficients, exponents, and look up table for unit. More... | |
const long double * | ns3::anonymous_namespace{time.cc}::UNIT_VALUE = InitUnitValue() |
Value of each unit, in terms of the smallest defined unit. More... | |
ns3::Time, ns3::TimeWithUnit and ns3::TimeValue attribute value implementations.
Definition in file time.cc.