TraceTree object
The TraceTree object is used to analyze the performance
of a PowerBuilder application. It provides a tree model listing
all the nodes logged in a given trace file. It includes the functions
you call to name the trace file to be analyzed, build the tree model,
and list the top-level entries in the tree model. You use the TraceTree
object in conjunction with the TraceTreeNode, TraceTreeError, TraceTreeESQL, TraceTreeGarbageCollect,
TraceTreeLine, TraceTreeObject, TraceTreeRoutine, and TraceTreeUser
objects.
The TraceTree object has no events.
Properties
TraceTree property |
Datatype |
Description |
---|---|---|
ApplicationName |
String |
The name of the application used to generate |
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
CollectionTime |
Decimal |
The amount of time (in seconds) taken |
NumberOfActivities |
Long |
The total number of activities that exist |
TraceFileName |
String |
The name of the trace file to use to |
Functions
TraceTree function |
Datatype returned |
Description |
---|---|---|
ErrorReturn |
Builds a tree model based on the previously |
|
String |
Returns the name assigned to the object |
|
ErrorReturn |
Destroys the current tree model |
|
ErrorReturn |
Provides a list of top-level entries |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
ErorReturn |
Indicates the name of the trace file |
|
Object (enumerated) |
Returns the type of the object |