A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::Time::Information Struct Reference

How to convert between other units and the current unit. More...

+ Collaboration diagram for ns3::Time::Information:

Public Attributes

int64_t factor
 Ratio of this unit / current unit. More...
 
bool fromMul
 Multiple when converting From, otherwise divide. More...
 
int64x64_t timeFrom
 Multiplier to convert from this unit. More...
 
int64x64_t timeTo
 Multiplier to convert to this unit. More...
 
bool toMul
 Multiply when converting To, otherwise divide. More...
 

Detailed Description

How to convert between other units and the current unit.

Definition at line 499 of file nstime.h.

Member Data Documentation

int64_t ns3::Time::Information::factor

Ratio of this unit / current unit.

Definition at line 503 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 502 of file nstime.h.

Referenced by ns3::Time::From(), ns3::Time::FromInteger(), and ns3::Time::SetResolution().

int64x64_t ns3::Time::Information::timeFrom

Multiplier to convert from this unit.

Definition at line 505 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 504 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 501 of file nstime.h.

Referenced by ns3::Time::SetResolution(), ns3::Time::To(), and ns3::Time::ToInteger().


The documentation for this struct was generated from the following file: