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 |
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
CollectionTime |
Decimal |
The amount of time taken (in seconds) |
NumberOfActivities |
Long |
The total number of activities that exist |
TraceFileName |
String |
The name of the trace file to use to |
Functions
Profiling function |
Datatype returned |
Description |
---|---|---|
ErrorReturn (enumerated) |
Builds a performance analysis model based |
|
ErrorReturn (enumerated) |
Provides a list of the classes (defined |
|
String |
Returns the name assigned to the object |
|
ErrorReturn (enumerated) |
Destroys the current performance analysis |
|
Integer |
Creates a reference to a context-specific |
|
Power |
Returns a reference to the name of the |
|
ErrorReturn (enumerated) |
Provides a list of the routines (defined |
|
ErrorReturn |
Indicates the name of the trace file |
|
ProfileRoutine |
Provides the routine node (defined as |
|
Object (enumerated) |
Returns the type of the object |