ns3::MpiInterface Class Reference
#include <mpi-interface.h>
List of all members.
Detailed Description
Interface between ns-3 and MPI
Member Function Documentation
static void ns3::MpiInterface::Destroy |
( |
|
) |
[static] |
static void ns3::MpiInterface::Enable |
( |
int * |
pargc, |
|
|
char *** |
pargv | |
|
) |
| | [static] |
- Parameters:
-
| pargc | number of command line arguments |
| pargv | command line arguments |
Sets up MPI interface
static uint32_t ns3::MpiInterface::GetRxCount |
( |
|
) |
[static] |
- Returns:
- received count in packets
static uint32_t ns3::MpiInterface::GetSize |
( |
|
) |
[static] |
- Returns:
- MPI size (number of systems)
static uint32_t ns3::MpiInterface::GetSystemId |
( |
|
) |
[static] |
static uint32_t ns3::MpiInterface::GetTxCount |
( |
|
) |
[static] |
- Returns:
- transmitted count in packets
static bool ns3::MpiInterface::IsEnabled |
( |
|
) |
[static] |
- Returns:
- true if using MPI
static void ns3::MpiInterface::ReceiveMessages |
( |
|
) |
[static] |
Check for received messages complete
static void ns3::MpiInterface::SendPacket |
( |
Ptr< Packet > |
p, |
|
|
const Time & |
rxTime, |
|
|
uint32_t |
node, |
|
|
uint32_t |
dev | |
|
) |
| | [static] |
- Parameters:
-
| p | packet to send |
| rxTime | received time at destination node |
| node | destination node |
| dev | destination device |
Serialize and send a packet to the specified node and net device
static void ns3::MpiInterface::TestSendComplete |
( |
|
) |
[static] |
Check for completed sends
The documentation for this class was generated from the following file: