![]() |
PEARL
Parallel Event Access and Replay Library
|
Abstraction layer for MPI messages.
#include <pearl/MpiMessage.h>
Public Member Functions | |
Constructors & destructor | |
MpiMessage (MPI_Comm comm, int size=128) | |
MpiMessage (const MpiComm &comm, int size=128) | |
Sending & receiving | |
void | send (int dest, int tag) |
void | isend (int dest, int tag) |
void | issend (int dest, int tag) |
bool | test () |
void | cancel () |
void | wait () |
void | recv (int source, int tag) |
bool | probe (int source, int tag) |
void | bcast (int root) |
Retrieving message information | |
MPI_Comm | get_comm () const |
MPI_Request | get_request () const |
![]() | |
Buffer (std::size_t capacity=512) | |
Buffer (const Buffer &rhs) | |
virtual | ~Buffer () |
Buffer & | operator= (const Buffer &rhs) |
std::size_t | capacity () const |
std::size_t | size () const |
std::size_t | position () const |
void | put_id (const ident_t &id) |
void | putTimestamp (const timestamp_t ×tamp) |
void | put_uint8 (const uint8_t &value) |
void | put_uint32 (const uint32_t &value) |
void | put_int64 (const int64_t &value) |
void | put_uint64 (const uint64_t &value) |
void | put_double (const double &value) |
void | put_event (const Event &event) |
void | put_buffer (const Buffer &buffer) |
ident_t | get_id () |
timestamp_t | getTimestamp () |
uint8_t | get_uint8 () |
uint32_t | get_uint32 () |
uint64_t | get_uint64 () |
int64_t | get_int64 () |
double | get_double () |
RemoteEvent | get_event (const GlobalDefs &defs) |
Buffer * | get_buffer () |
Additional Inherited Members | |
![]() | |
void | reserve (std::size_t bytes) |
![]() | |
std::size_t | m_capacity |
Current buffer capacity. More... | |
std::size_t | m_size |
Current usage of buffer. More... | |
std::size_t | m_position |
Current read position. More... | |
uint8_t * | m_data |
Pointer to the actual data. More... | |
pearl::MpiMessage::MpiMessage | ( | MPI_Comm | comm, |
int | size = 128 |
||
) |
pearl::MpiMessage::MpiMessage | ( | const MpiComm & | comm, |
int | size = 128 |
||
) |
void pearl::MpiMessage::bcast | ( | int | root | ) |
void pearl::MpiMessage::cancel | ( | ) |
MPI_Comm pearl::MpiMessage::get_comm | ( | ) | const |
MPI_Request pearl::MpiMessage::get_request | ( | ) | const |
void pearl::MpiMessage::isend | ( | int | dest, |
int | tag | ||
) |
void pearl::MpiMessage::issend | ( | int | dest, |
int | tag | ||
) |
bool pearl::MpiMessage::probe | ( | int | source, |
int | tag | ||
) |
void pearl::MpiMessage::recv | ( | int | source, |
int | tag | ||
) |
void pearl::MpiMessage::send | ( | int | dest, |
int | tag | ||
) |
bool pearl::MpiMessage::test | ( | ) |
void pearl::MpiMessage::wait | ( | ) |
![]() |
Copyright © 1998–2019 Forschungszentrum Jülich GmbH,
Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming |