Static Public Member Functions

ns3::MpiInterface Class Reference

#include <mpi-interface.h>

List of all members.

Static Public Member Functions

static void Destroy ()
static uint32_t GetSystemId ()
static uint32_t GetSize ()
static bool IsEnabled ()
static void Enable (int *pargc, char ***pargv)
static void SendPacket (Ptr< Packet > p, const Time &rxTime, uint32_t node, uint32_t dev)
static void ReceiveMessages ()
static void TestSendComplete ()
static uint32_t GetRxCount ()
static uint32_t GetTxCount ()

Detailed Description

Interface between ns-3 and MPI


Member Function Documentation

static void ns3::MpiInterface::Destroy (  )  [static]

Delete all buffers

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]
Returns:
MPI rank
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: