#include <memmsg.h>
Inheritance diagram for sc::MsgMemoryGrp:
Public Member Functions | |
MsgMemoryGrp (const Ref< MessageGrp > &msg) | |
MsgMemoryGrp (const Ref< KeyVal > &keyval) | |
void | set_localsize (size_t localsize) |
Set the size of locally held memory. | |
void | sync () |
Synchronizes all the nodes. | |
Protected Attributes | |
Ref< MessageGrp > | msg_ |
|
Set the size of locally held memory. When memory is accessed using a global offset counting starts at node 0 and proceeds up to node n() - 1. Implements sc::MemoryGrp. Reimplemented in sc::ActiveMsgMemoryGrp, and sc::ShmMemoryGrp. |
|
Synchronizes all the nodes. Consider using this when the way you you access memory changes. Implements sc::MemoryGrp. Reimplemented in sc::MTMPIMemoryGrp. |