A function level profile ID. More...
#include <profile_funclevel.h>
Public Types | |
| enum | { Total = 0xffffffff } |
| special 'frame' numbers More... | |
Public Member Functions | |
| Id (void) | |
| const char * | GetSource (void) const |
| Returns the source file this Id is in. | |
| const char * | GetFunction (void) const |
| Returns the function name for this Id. | |
| unsigned | GetAddress (void) const |
| Returns function address. | |
| unsigned | GetLine (void) const |
| Returns the line number for this Id. | |
| unsigned _int64 | GetCalls (unsigned frame) const |
| Determine call counts. | |
| unsigned _int64 | GetTime (unsigned frame) const |
| Determine time spend in this function and its children. | |
| unsigned _int64 | GetFunctionTime (unsigned frame) const |
| Determine time spend in this function only (exclude any time spend in child functions). | |
| IdList | GetCaller (unsigned frame) const |
| Determine the list of caller Ids. | |
A function level profile ID.
Definition at line 81 of file profile_funclevel.h.
| anonymous enum |
special 'frame' numbers
| Enumerator | |
|---|---|
| Total | return the total value/count |
Definition at line 90 of file profile_funclevel.h.
|
inline |
Definition at line 87 of file profile_funclevel.h.
| unsigned ProfileFuncLevel::Id::GetAddress | ( | void | ) | const |
Returns function address.
Definition at line 740 of file profile_funclevel.cpp.
| ProfileFuncLevel::IdList ProfileFuncLevel::Id::GetCaller | ( | unsigned | frame | ) | const |
Determine the list of caller Ids.
| frame | number of recorded frame, or Total |
Definition at line 765 of file profile_funclevel.cpp.
| unsigned _int64 ProfileFuncLevel::Id::GetCalls | ( | unsigned | frame | ) | const |
Determine call counts.
| frame | number of recorded frame, or Total |
Definition at line 750 of file profile_funclevel.cpp.
| const char * ProfileFuncLevel::Id::GetFunction | ( | void | ) | const |
Returns the function name for this Id.
Definition at line 735 of file profile_funclevel.cpp.
| unsigned _int64 ProfileFuncLevel::Id::GetFunctionTime | ( | unsigned | frame | ) | const |
Determine time spend in this function only (exclude any time spend in child functions).
| frame | number of recorded frame, or Total |
Definition at line 760 of file profile_funclevel.cpp.
| unsigned ProfileFuncLevel::Id::GetLine | ( | void | ) | const |
Returns the line number for this Id.
Definition at line 745 of file profile_funclevel.cpp.
| const char * ProfileFuncLevel::Id::GetSource | ( | void | ) | const |
Returns the source file this Id is in.
Definition at line 730 of file profile_funclevel.cpp.
| unsigned _int64 ProfileFuncLevel::Id::GetTime | ( | unsigned | frame | ) | const |
Determine time spend in this function and its children.
| frame | number of recorded frame, or Total |
Definition at line 755 of file profile_funclevel.cpp.