System-dependent implementation for SystemWallClockMs. More...
Collaboration diagram for ns3::SystemWallClockMsPrivate:Public Member Functions | |
| int64_t | End () |
| Stop measuring the time since Start() was called. | |
| int64_t | GetElapsedReal () const |
| int64_t | GetElapsedSystem () const |
| int64_t | GetElapsedUser () const |
| void | Start () |
| Start a measure. | |
Private Attributes | |
| int64_t | m_elapsedReal |
| Elapsed real time, in ms. | |
| int64_t | m_elapsedSystem |
| Elapsed system time, in ms. | |
| int64_t | m_elapsedUser |
| Elapsed user time, in ms. | |
| std::chrono::system_clock::time_point | m_startTime |
| The wall clock start time. | |
System-dependent implementation for SystemWallClockMs.
Definition at line 41 of file system-wall-clock-ms.cc.
| int64_t ns3::SystemWallClockMsPrivate::End | ( | ) |
Stop measuring the time since Start() was called.
It is possible to start a new measurement with Start() after this method returns.
Returns int64_t to avoid dependency on clock_t in ns-3 code.
Definition at line 70 of file system-wall-clock-ms.cc.
References m_elapsedReal, m_elapsedSystem, m_elapsedUser, m_startTime, and NS_LOG_FUNCTION.
Referenced by ns3::SystemWallClockMs::End().
Here is the caller graph for this function:| int64_t ns3::SystemWallClockMsPrivate::GetElapsedReal | ( | ) | const |
Returns int64_t to avoid dependency on clock_t in ns-3 code.
Definition at line 115 of file system-wall-clock-ms.cc.
References m_elapsedReal, and NS_LOG_FUNCTION.
Referenced by ns3::SystemWallClockMs::GetElapsedReal().
Here is the caller graph for this function:| int64_t ns3::SystemWallClockMsPrivate::GetElapsedSystem | ( | ) | const |
Returns int64_t to avoid dependency on clock_t in ns-3 code.
Definition at line 129 of file system-wall-clock-ms.cc.
References m_elapsedSystem, and NS_LOG_FUNCTION.
Referenced by ns3::SystemWallClockMs::GetElapsedSystem().
Here is the caller graph for this function:| int64_t ns3::SystemWallClockMsPrivate::GetElapsedUser | ( | ) | const |
Returns int64_t to avoid dependency on clock_t in ns-3 code.
Definition at line 122 of file system-wall-clock-ms.cc.
References m_elapsedUser, and NS_LOG_FUNCTION.
Referenced by ns3::SystemWallClockMs::GetElapsedUser().
Here is the caller graph for this function:| void ns3::SystemWallClockMsPrivate::Start | ( | ) |
Start a measure.
Definition at line 63 of file system-wall-clock-ms.cc.
References m_startTime, and NS_LOG_FUNCTION.
Referenced by ns3::SystemWallClockMs::Start().
Here is the caller graph for this function:
|
private |
Elapsed real time, in ms.
Definition at line 57 of file system-wall-clock-ms.cc.
Referenced by End(), and GetElapsedReal().
|
private |
Elapsed system time, in ms.
Definition at line 59 of file system-wall-clock-ms.cc.
Referenced by End(), and GetElapsedSystem().
|
private |
Elapsed user time, in ms.
Definition at line 58 of file system-wall-clock-ms.cc.
Referenced by End(), and GetElapsedUser().
|
private |
The wall clock start time.
Definition at line 56 of file system-wall-clock-ms.cc.