OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
IpplMessageCounterRegion Class Reference

#include <IpplMessageCounter.h>

Public Member Functions

 IpplMessageCounterRegion (const std::string &)
 
void begin ()
 
void end ()
 
void registerMessage (int)
 
void print (Inform &)
 

Private Attributes

std::string name
 
unsigned count
 
unsigned total_size
 
int index
 

Detailed Description

Definition at line 24 of file IpplMessageCounter.h.

Constructor & Destructor Documentation

IpplMessageCounterRegion::IpplMessageCounterRegion ( const std::string &  n)

Definition at line 39 of file IpplMessageCounter.cpp.

References IpplMessageCounter::addRegion(), IpplMessageCounter::getInstance(), and index.

Here is the call graph for this function:

Member Function Documentation

void IpplMessageCounterRegion::begin ( )

Definition at line 45 of file IpplMessageCounter.cpp.

References IpplMessageCounter::getInstance(), index, and IpplMessageCounter::setActiveRegion().

Referenced by ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::update().

Here is the call graph for this function:

void IpplMessageCounterRegion::end ( )

Definition at line 50 of file IpplMessageCounter.cpp.

References IpplMessageCounter::getInstance(), and IpplMessageCounter::unsetActiveRegion().

Referenced by ParticleSpatialLayout< T, Dim, Mesh, CachingPolicy >::update().

Here is the call graph for this function:

void IpplMessageCounterRegion::print ( Inform msg)

Definition at line 74 of file IpplMessageCounter.cpp.

References count, endl(), name, reduce(), and total_size.

Here is the call graph for this function:

void IpplMessageCounterRegion::registerMessage ( int  size)

Definition at line 55 of file IpplMessageCounter.cpp.

References count, and total_size.

Referenced by IpplMessageCounter::registerMessage().

Member Data Documentation

unsigned IpplMessageCounterRegion::count
private

Definition at line 33 of file IpplMessageCounter.h.

Referenced by print(), and registerMessage().

int IpplMessageCounterRegion::index
private

Definition at line 35 of file IpplMessageCounter.h.

Referenced by begin(), and IpplMessageCounterRegion().

std::string IpplMessageCounterRegion::name
private

Definition at line 32 of file IpplMessageCounter.h.

Referenced by print().

unsigned IpplMessageCounterRegion::total_size
private

Definition at line 34 of file IpplMessageCounter.h.

Referenced by print(), and registerMessage().


The documentation for this class was generated from the following files: