#include <appdynamics.h>
Public Member Functions | |
| CallGraph (BT &bt, const std::string &class_name, const std::string &method_name, const std::string &file_path, int32_t line_number, int32_t time_msec, appd_frame_type frame_type) | |
| ~CallGraph ()=default | |
| CallGraph ()=delete | |
| CallGraph (const CallGraph &)=delete | |
| CallGraph & | operator= (const CallGraph &)=delete |
| bool | add_to_snapshot () const |
| CallGraphElement & | root () const |
| BT & | bt () |
| const BT & | bt () const |
Private Attributes | |
| BT & | m_bt |
| const std::unique_ptr< CallGraphElement > | m_root |
A pre-populated call graph.
Provide the execution time and specify the parent/child (caller/called) relationships to construct the call graph tree. Once the tree is constructed, you can add it to a business transaction with 'add_to_snapshot'. You can use appd_bt_is_snapshotting to check if the business transaction is snapshotting before generating the data and calling this function.
|
inline |
For the other parameters see the "Frame" class. They refer to the root of the call graph.
| bt | The business transaction for this call graph. |
| time_msec | |
| class_name | |
| method_name | |
| file_path | |
| line_number | |
| frame_type | The time in milliseconds for the execution of this method. |
|
default |
|
delete |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |