Public Member Functions | |
Bench (const uint32_t population, const uint32_t total) | |
void | RunBench (void) |
void | SetPopulation (const uint32_t population) |
void | SetRandomStream (Ptr< RandomVariableStream > stream) |
void | SetTotal (const uint32_t total) |
Private Member Functions | |
void | Cb (void) |
Private Attributes | |
uint32_t | m_count |
uint32_t | m_population |
Ptr< RandomVariableStream > | m_rand |
uint32_t | m_total |
Definition at line 42 of file bench-simulator.cc.
|
inline |
Definition at line 45 of file bench-simulator.cc.
|
private |
Definition at line 113 of file bench-simulator.cc.
References DEB, ns3::Simulator::Now(), and ns3::Simulator::Schedule().
Referenced by RunBench().
void Bench::RunBench | ( | void | ) |
Definition at line 77 of file bench-simulator.cc.
References Cb(), DEB, ns3::Simulator::Destroy(), ns3::SystemWallClockMs::End(), g_fwidth, LOG, ns3::Simulator::Run(), ns3::Simulator::Schedule(), and ns3::SystemWallClockMs::Start().
Referenced by main().
|
inline |
Definition at line 56 of file bench-simulator.cc.
Referenced by main().
|
inline |
Definition at line 51 of file bench-simulator.cc.
Referenced by main().
|
inline |
Definition at line 61 of file bench-simulator.cc.
Referenced by main().
|
private |
Definition at line 73 of file bench-simulator.cc.
|
private |
Definition at line 71 of file bench-simulator.cc.
|
private |
Definition at line 70 of file bench-simulator.cc.
|
private |
Definition at line 72 of file bench-simulator.cc.