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

#include <Profiler.h>

Public Member Functions

 RtsLayer ()
 
 ~RtsLayer ()
 

Static Public Member Functions

static unsigned int enableProfileGroup (unsigned int ProfileGroup)
 
static unsigned int resetProfileGroup (void)
 
static int setAndParseProfileGroups (char *prog, char *str)
 
static bool isEnabled (unsigned int ProfileGroup)
 
static void ProfileInit (int argc, char **argv)
 
static std::string PrimaryGroup (const char *ProfileGroupName)
 
static bool isCtorDtor (const char *name)
 
static void TraceSendMsg (int type, int destination, int length)
 
static void TraceRecvMsg (int type, int source, int length)
 
static const char * CheckNotNull (const char *str)
 
static int SetEventCounter (void)
 
static double GetEventCounter (void)
 
static double getUSecD (void)
 
static int setMyNode (int NodeId)
 
static int DumpEDF (void)
 
static int myNode ()
 
static int myContext ()
 
static int myThread ()
 

Static Public Attributes

static unsigned int ProfileMask = TAU_DEFAULT
 
static int Node = -1
 

Detailed Description

Definition at line 287 of file Profiler.h.

Constructor & Destructor Documentation

RtsLayer::RtsLayer ( )
inline

Definition at line 292 of file Profiler.h.

RtsLayer::~RtsLayer ( )
inline

Definition at line 293 of file Profiler.h.

Member Function Documentation

static const char* RtsLayer::CheckNotNull ( const char *  str)
inlinestatic

Definition at line 313 of file Profiler.h.

int RtsLayer::DumpEDF ( void  )
static

Definition at line 1094 of file Profiler.cpp.

References DEBUGPROFMSG, endl(), FunctionInfo::FunctionDB, myNode(), and myThread().

Referenced by Profiler::StoreData().

Here is the call graph for this function:

unsigned int RtsLayer::enableProfileGroup ( unsigned int  ProfileGroup)
static

Definition at line 700 of file Profiler.cpp.

References DEBUGPROFMSG, endl(), and ProfileMask.

Referenced by setAndParseProfileGroups().

Here is the call graph for this function:

static double RtsLayer::GetEventCounter ( void  )
static

Referenced by getUSecD().

double RtsLayer::getUSecD ( void  )
static

Definition at line 811 of file Profiler.cpp.

References Physics::e, and GetEventCounter().

Referenced by Profiler::Start(), and Profiler::Stop().

Here is the call graph for this function:

bool RtsLayer::isCtorDtor ( const char *  name)
static

Definition at line 988 of file Profiler.cpp.

References DEBUGPROFMSG, and endl().

Referenced by Profiler::ProfileExit(), and Profiler::~Profiler().

Here is the call graph for this function:

bool RtsLayer::isEnabled ( unsigned int  ProfileGroup)
static

Definition at line 732 of file Profiler.cpp.

References ProfileMask.

Referenced by TraceRecvMsg(), and TraceSendMsg().

static int RtsLayer::myContext ( )
inlinestatic

Definition at line 333 of file Profiler.h.

Referenced by Profiler::StoreData().

static int RtsLayer::myNode ( )
inlinestatic
static int RtsLayer::myThread ( )
inlinestatic
string RtsLayer::PrimaryGroup ( const char *  ProfileGroupName)
static

Definition at line 1012 of file Profiler.cpp.

References Hypervolume::n.

Referenced by FunctionInfo::FunctionInfo().

void RtsLayer::ProfileInit ( int  argc,
char **  argv 
)
static

Definition at line 970 of file Profiler.cpp.

References resetProfileGroup(), and setAndParseProfileGroups().

Here is the call graph for this function:

unsigned int RtsLayer::resetProfileGroup ( void  )
static

Definition at line 708 of file Profiler.cpp.

References ProfileMask.

Referenced by ProfileInit().

int RtsLayer::setAndParseProfileGroups ( char *  prog,
char *  str 
)
static
static int RtsLayer::SetEventCounter ( void  )
static
int RtsLayer::setMyNode ( int  NodeId)
static

Definition at line 714 of file Profiler.cpp.

References Node.

void RtsLayer::TraceRecvMsg ( int  type,
int  source,
int  length 
)
static

Definition at line 1063 of file Profiler.cpp.

References isEnabled(), myNode(), and TAU_MESSAGE.

Here is the call graph for this function:

void RtsLayer::TraceSendMsg ( int  type,
int  destination,
int  length 
)
static

Definition at line 1033 of file Profiler.cpp.

References isEnabled(), myNode(), and TAU_MESSAGE.

Here is the call graph for this function:

Member Data Documentation

int RtsLayer::Node = -1
static

Definition at line 291 of file Profiler.h.

Referenced by myNode(), and setMyNode().

unsigned int RtsLayer::ProfileMask = TAU_DEFAULT
static

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