|
OPAL (Object Oriented Parallel Accelerator Library)
2.2.0
OPAL
|
#include <Profiler.h>
Public Member Functions | |
| FunctionInfo (const char *name, const char *type, unsigned int ProfileGroup=0xffffffff, const char *ProfileGroupName="TAU_DEFAULT") | |
| FunctionInfo (std::string &name, const char *type, unsigned int ProfileGroup=0xffffffff, const char *ProfileGroupName="TAU_DEFAULT") | |
| FunctionInfo (const char *name, std::string &type, unsigned int ProfileGroup=0xffffffff, const char *ProfileGroupName="TAU_DEFAULT") | |
| FunctionInfo (std::string &name, std::string &type, unsigned int ProfileGroup=0xffffffff, const char *ProfileGroupName="TAU_DEFAULT") | |
| FunctionInfo (const FunctionInfo &X) | |
| ~FunctionInfo () | |
| FunctionInfo & | operator= (const FunctionInfo &X) |
| void | ExcludeTime (double t) |
| void | AddInclTime (double t) |
| void | AddExclTime (double t) |
| void | IncrNumCalls (void) |
| bool | GetAlreadyOnStack (void) |
| void | SetAlreadyOnStack (bool value) |
| const char * | GetName () const |
| const char * | GetType () const |
| const char * | GetPrimaryGroup () const |
| long | GetFunctionId () const |
| long | GetCalls () const |
| long | GetSubrs () const |
| double | GetExclTime () const |
| double | GetInclTime () const |
| unsigned int | GetProfileGroup () const |
Public Attributes | |
| std::string | Name |
| std::string | Type |
| std::string | GroupName |
| long | FunctionId |
Static Public Attributes | |
| static std::vector < FunctionInfo * > | FunctionDB [1024] |
Private Attributes | |
| long | NumCalls |
| long | NumSubrs |
| double | ExclTime |
| double | InclTime |
| bool | AlreadyOnStack |
| unsigned int | MyProfileGroup_ |
Definition at line 98 of file Profiler.h.
| FunctionInfo::FunctionInfo | ( | const char * | name, |
| const char * | type, | ||
| unsigned int | ProfileGroup = 0xffffffff, |
||
| const char * | ProfileGroupName = "TAU_DEFAULT" |
||
| ) |
Definition at line 102 of file Profiler.cpp.
References DEBUGPROFMSG, endl(), RtsLayer::myNode(), RtsLayer::myThread(), name, RtsLayer::PrimaryGroup(), and RtsLayer::ProfileMask.

| FunctionInfo::FunctionInfo | ( | std::string & | name, |
| const char * | type, | ||
| unsigned int | ProfileGroup = 0xffffffff, |
||
| const char * | ProfileGroupName = "TAU_DEFAULT" |
||
| ) |
| FunctionInfo::FunctionInfo | ( | const char * | name, |
| std::string & | type, | ||
| unsigned int | ProfileGroup = 0xffffffff, |
||
| const char * | ProfileGroupName = "TAU_DEFAULT" |
||
| ) |
| FunctionInfo::FunctionInfo | ( | std::string & | name, |
| std::string & | type, | ||
| unsigned int | ProfileGroup = 0xffffffff, |
||
| const char * | ProfileGroupName = "TAU_DEFAULT" |
||
| ) |
| FunctionInfo::FunctionInfo | ( | const FunctionInfo & | X | ) |
Definition at line 274 of file Profiler.cpp.
References DEBUGPROFMSG, endl(), FunctionDB, and RtsLayer::myThread().

| FunctionInfo::~FunctionInfo | ( | ) |
Definition at line 303 of file Profiler.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 191 of file Profiler.h.
References ExclTime, and NumSubrs.
Referenced by Profiler::Stop().
|
inline |
Definition at line 223 of file Profiler.h.
References AlreadyOnStack.
Referenced by Profiler::Start().
|
inline |
Definition at line 169 of file Profiler.h.
References NumCalls.
|
inline |
Definition at line 171 of file Profiler.h.
References ExclTime.
|
inline |
Definition at line 168 of file Profiler.h.
References FunctionId.
Referenced by Profiler::Start(), and Profiler::Stop().
|
inline |
Definition at line 172 of file Profiler.h.
References InclTime.
|
inline |
Definition at line 165 of file Profiler.h.
References Name.
Referenced by Profiler::ProfileExit(), Profiler::Start(), Profiler::Stop(), and Profiler::~Profiler().
|
inline |
Definition at line 167 of file Profiler.h.
References GroupName.
|
inline |
Definition at line 173 of file Profiler.h.
References MyProfileGroup_.
|
inline |
Definition at line 170 of file Profiler.h.
References NumSubrs.
|
inline |
Definition at line 166 of file Profiler.h.
References Type.
Referenced by Profiler::ProfileExit(), Profiler::Start(), and Profiler::Stop().
|
inline |
| FunctionInfo & FunctionInfo::operator= | ( | const FunctionInfo & | X | ) |
Definition at line 288 of file Profiler.cpp.
References DEBUGPROFMSG, endl(), ExclTime, InclTime, MyProfileGroup_, Name, NumCalls, NumSubrs, and Type.

|
inline |
Definition at line 217 of file Profiler.h.
References AlreadyOnStack.
Referenced by Profiler::Start(), and Profiler::Stop().
|
private |
Definition at line 154 of file Profiler.h.
Referenced by GetAlreadyOnStack(), and SetAlreadyOnStack().
|
private |
Definition at line 152 of file Profiler.h.
Referenced by AddExclTime(), ExcludeTime(), GetExclTime(), and operator=().
|
static |
Definition at line 135 of file Profiler.h.
Referenced by RtsLayer::DumpEDF(), FunctionInfo(), and Profiler::StoreData().
| long FunctionInfo::FunctionId |
Definition at line 163 of file Profiler.h.
Referenced by GetFunctionId().
| std::string FunctionInfo::GroupName |
Definition at line 162 of file Profiler.h.
Referenced by GetPrimaryGroup().
|
private |
Definition at line 153 of file Profiler.h.
Referenced by AddInclTime(), GetInclTime(), and operator=().
|
private |
Definition at line 180 of file Profiler.h.
Referenced by GetProfileGroup(), and operator=().
| std::string FunctionInfo::Name |
Definition at line 160 of file Profiler.h.
Referenced by GetName(), and operator=().
|
private |
Definition at line 150 of file Profiler.h.
Referenced by GetCalls(), IncrNumCalls(), and operator=().
|
private |
Definition at line 151 of file Profiler.h.
Referenced by ExcludeTime(), GetSubrs(), and operator=().
| std::string FunctionInfo::Type |
Definition at line 161 of file Profiler.h.
Referenced by GetType(), and operator=().
1.8.5