 Collaboration diagram for Bench:
 Collaboration diagram for Bench:| Public Member Functions | |
| Bench (const uint32_t population, const uint32_t total) | |
| constructor  More... | |
| void | RunBench (void) | 
| Run function.  More... | |
| void | SetPopulation (const uint32_t population) | 
| Set population function.  More... | |
| void | SetRandomStream (Ptr< RandomVariableStream > stream) | 
| Set random stream.  More... | |
| void | SetTotal (const uint32_t total) | 
| Set total function.  More... | |
| Private Member Functions | |
| void | Cb (void) | 
| callback function  More... | |
| Private Attributes | |
| uint32_t | m_count | 
| count  More... | |
| uint32_t | m_population | 
| population  More... | |
| Ptr< RandomVariableStream > | m_rand | 
| random variable  More... | |
| uint32_t | m_total | 
| total  More... | |
Bench class.
Definition at line 43 of file bench-simulator.cc.
| 
 | inline | 
constructor
| population | the population | 
| total | the total | 
Definition at line 51 of file bench-simulator.cc.
| 
 | private | 
callback function
Definition at line 134 of file bench-simulator.cc.
References DEB, ns3::NanoSeconds(), ns3::Simulator::Now(), and ns3::Simulator::Schedule().
Referenced by RunBench().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| void Bench::RunBench | ( | void | ) | 
Run function.
Definition at line 98 of file bench-simulator.cc.
References Cb(), DEB, ns3::SystemWallClockMs::End(), g_fwidth, LOG, ns3::NanoSeconds(), ns3::Simulator::Run(), ns3::Simulator::Schedule(), and ns3::SystemWallClockMs::Start().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | inline | 
Set population function.
| population | the population | 
Definition at line 71 of file bench-simulator.cc.
| 
 | inline | 
Set random stream.
| stream | the random variable stream | 
Definition at line 62 of file bench-simulator.cc.
| 
 | inline | 
| 
 | private | 
count
Definition at line 94 of file bench-simulator.cc.
| 
 | private | 
population
Definition at line 92 of file bench-simulator.cc.
| 
 | private | 
random variable
Definition at line 91 of file bench-simulator.cc.
| 
 | private | 
total
Definition at line 93 of file bench-simulator.cc.