PEARL
Parallel Event Access and Replay Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
pearl::AmRuntime Class Reference

Active message runtime class. More...

#include <pearl/AmRuntime.h>

List of all members.

Public Member Functions

size_t advance ()
void wait ()
void wait (const Communicator &comm)
void allfence ()
void fence (const Communicator &comm)
void setCbdata (CallbackData *data)
CallbackDatagetCbdata () const
void setCbmanager (const CallbackManager &cbmanager)
const CallbackManagergetCbmanager () const
void attach (AmHandler &handler)
void enqueue (AmRequest::Ptr request)
void startListen (const Communicator &comm)
void stopListen (const Communicator &comm)
void printSummary ()

AmRuntime creation & destruction

static AmRuntimegetInstance ()
void shutdown ()

Detailed Description

This class implements the core runtime environment for the active messaging framework. It is designed as a singleton so an application can have only one runtime object at any time. The runtime uses three different classes to implement its active message scheme. An AmRequest object is used to send data to a remote location. An AmListener object is used to probe for and receive messages on the remote location. Handler classes are used to pack the initial message buffers on the origin side and to unpack and execute their business logic on the target side.

Note:
It is the users responsibility to register Listener objects on the target location that are capable of receiving requests that injected into the system on any of the origin locations.

Member Function Documentation

void pearl::AmRuntime::attach ( AmHandler handler)
void pearl::AmRuntime::fence ( const Communicator comm)
void pearl::AmRuntime::setCbmanager ( const CallbackManager cbmanager)
void pearl::AmRuntime::wait ( const Communicator comm)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Scalasca    Copyright © 1998–2014 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2014 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming