How to convert between other units and the current unit. More...
Public Attributes | |
int64_t | factor |
Ratio of this unit / current unit. | |
bool | fromMul |
Multiple when converting From, otherwise divide. | |
bool | isValid |
True if the current unit can be used. | |
int64x64_t | timeFrom |
Multiplier to convert from this unit. | |
int64x64_t | timeTo |
Multiplier to convert to this unit. | |
bool | toMul |
Multiply when converting To, otherwise divide. | |
int64_t ns3::Time::Information::factor |
Ratio of this unit / current unit.
Definition at line 662 of file nstime.h.
Referenced by ns3::Time::FromInteger(), ns3::Time::SetResolution(), and ns3::Time::ToInteger().
bool ns3::Time::Information::fromMul |
Multiple when converting From, otherwise divide.
Definition at line 661 of file nstime.h.
Referenced by ns3::Time::From(), ns3::Time::FromInteger(), and ns3::Time::SetResolution().
bool ns3::Time::Information::isValid |
True if the current unit can be used.
Definition at line 665 of file nstime.h.
Referenced by ns3::Time::From(), ns3::Time::FromInteger(), ns3::Time::SetResolution(), ns3::Time::To(), and ns3::Time::ToInteger().
int64x64_t ns3::Time::Information::timeFrom |
Multiplier to convert from this unit.
Definition at line 664 of file nstime.h.
Referenced by ns3::Time::From(), and ns3::Time::SetResolution().
int64x64_t ns3::Time::Information::timeTo |
Multiplier to convert to this unit.
Definition at line 663 of file nstime.h.
Referenced by ns3::Time::SetResolution(), and ns3::Time::To().
bool ns3::Time::Information::toMul |
Multiply when converting To, otherwise divide.
Definition at line 660 of file nstime.h.
Referenced by ns3::Time::SetResolution(), ns3::Time::To(), and ns3::Time::ToInteger().