Profiling object
The Profiling object is used to analyze the performance of a
PowerBuilder application. It provides a performance analysis model listing
all the routines (both functions and events) logged in a given trace file.
It includes the functions you call to name the trace file to be analyzed,
build the model, and list the classes and routines included in the model.
You use the Profiling object in conjunction with the ProfileCall,
ProfileClass, ProfileLine, and ProfileRoutine objects.
The Profiling object has no events.
Properties
|
Profiling property |
Datatype |
Description |
|---|---|---|
|
ApplicationName |
String |
The name of the application used to generate the |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
CollectionTime |
Decimal |
The amount of time taken (in seconds) by the |
|
NumberOfActivities |
Long |
The total number of activities that exist in the |
|
TraceFileName |
String |
The name of the trace file to use to build the |
Functions
|
Profiling function |
Datatype returned |
Description |
|---|---|---|
|
ErrorReturn (enumerated) |
Builds a performance analysis model based on the |
|
|
ErrorReturn (enumerated) |
Provides a list of the classes (defined as |
|
|
String |
Returns the name assigned to the |
|
|
ErrorReturn (enumerated) |
Destroys the current performance analysis |
|
|
Integer |
Creates a reference to a context-specific instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
ErrorReturn (enumerated) |
Provides a list of the routines (defined as |
|
|
ErrorReturn |
Indicates the name of the trace file to use for |
|
|
ProfileRoutine |
Provides the routine node (defined as a |
|
|
Object (enumerated) |
Returns the type of the object |