CStackReport Class ReferenceGenerates a stack report.
More...
#include <StackReport.h>
List of all members.
Detailed Description
Generates a stack report.
This class contains a few functions to generate a stack report from the specified CStackTrace object.
Member Function Documentation
|
|
Generate a stack report.
- Parameters:
-
| [out] | pReg | - Receives the stack report |
| [in] | pSt | - CStackTrace object pointer |
Upon return, the CReg object will contain a key entry for each thread, and the current call stack for each thread will be in the key value fields in order of most recently called functions first.
- Returns:
- Non-zero if successful
- See also:
|
|
|
Generate a stack history report.
- Parameters:
-
| [out] | pReg | - Receives the stack trace |
| [in] | pSt | - CStackTrace object pointer |
Upon return, the CReg object will contain a key entry for each thread, and the current stack trace for each thread will be in the key value fields in order of most recently called functions first.
The stack trace is just the names of the last n number of functions called.
- Returns:
- Non-zero if successful
- See also:
|
|
|
Call to generate a stack profile report.
- Parameters:
-
| [out] | pReg | - Receives the stack trace |
| [in] | pSt | - CStackTrace object pointer |
Upon return, the CReg object will contain a key entry for each thread, and the current stack profile for each thread will be in the key value fields in order of most recently called functions first.
The stack profile contains the name of each function as the key entry name, and the total amount of time spent in that function as the key entry value.
- Returns:
- Non-zero if successful
- See also:
|
The documentation for this class was generated from the following files:
- inc/StackReport.h
- StackReport.cpp
|