Public Member Functions

ns3::SystemWallClockMs Class Reference

measure elapsed time in milliseconds More...

#include <system-wall-clock-ms.h>

List of all members.

Public Member Functions

void Start (void)
int64_t End (void)
 Stop measuring the time since Start() was called.
int64_t GetElapsedReal (void) const
int64_t GetElapsedUser (void) const
int64_t GetElapsedSystem (void) const

Detailed Description

measure elapsed time in milliseconds


Member Function Documentation

int64_t ns3::SystemWallClockMs::End ( void   ) 

Stop measuring the time since Start() was called.

Returns:
the measured elapsed wall clock time (in milliseconds) since ns3::SystemWallClockMs::Start was invoked.

It is possible to start a new measurement with ns3::SystemWallClockMs::Start after this method returns.

Returns int64_t to avoid dependency on clock_t in ns-3 code.

int64_t ns3::SystemWallClockMs::GetElapsedReal ( void   )  const
Returns:
the measured elapsed wall clock time (in milliseconds) since ns3::SystemWallClockMs::Start was invoked.

Returns int64_t to avoid dependency on clock_t in ns-3 code.

int64_t ns3::SystemWallClockMs::GetElapsedSystem ( void   )  const
Returns:
the measured elapsed 'system' wall clock time (in milliseconds) since ns3::SystemWallClockMs::Start was invoked.

Returns int64_t to avoid dependency on clock_t in ns-3 code.

int64_t ns3::SystemWallClockMs::GetElapsedUser ( void   )  const
Returns:
the measured elapsed 'user' wall clock time (in milliseconds) since ns3::SystemWallClockMs::Start was invoked.

Returns int64_t to avoid dependency on clock_t in ns-3 code.

void ns3::SystemWallClockMs::Start ( void   ) 

Start a measure.


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