ProfileRoutine object
The ProfileRoutine object provides information about the routines in
the performance analysis model. It includes the time (in seconds) spent in
the routine, any called routines, the number of times each routine was
called, and the class to which the routine belongs. You use the
ProfileRoutine object in conjunction with the Profiling and ProfileCall or
ProfileLine objects.
The ProfileRoutine object has no events.
Properties
|
ProfileRoutine property |
Datatype |
Description |
|---|---|---|
|
AbsoluteSelfTime |
Decimal |
The time (in seconds) spent in this routine. If the |
|
AbsoluteTotalTime |
Decimal |
The time (in seconds) spent in this routine and in |
|
Class |
ProfileClass |
The class the routine is in. For embedded SQL |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
HitCount |
Long |
The number of times this routine was called or the |
|
Kind |
ProfileRoutineKind (enumerated) |
The kind of routine node. Values RoutineESQL! — Represents an embedded SQL RoutineEvent! — Represents an RoutineFunction! — Represents a RoutineGarbageCollection! — Represents a RoutineObjectCreation! — RoutineObjectDestruction! — Represents RoutineRoot! — Represents the |
|
MaxSelfTime |
Decimal |
The longest time (in seconds) spent in the routine |
|
MaxTotalTime |
Decimal |
The longest time (in seconds) spent in the routine |
|
MinSelfTime |
Decimal |
The shortest time (in seconds) spent in the routine |
|
MinTotalTime |
Decimal |
The shortest time (in seconds) spent in the routine |
|
Name |
String |
The name of the routine including the argument |
|
PercentSelfTime |
Double |
AbsoluteSelfTime as a percentage of the total time |
|
PercentTotalTime |
Double |
AbsoluteTotalTime as a percentage of the total time |
Functions
|
ProfileRoutine function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the |
|
|
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 callers (defined as |
|
|
ErrorReturn (enumerated) |
Provides a list, in line order, of the lines |
|
|
ErrorReturn (enumerated) |
Provides a list of the calls (defined as |
|
|
Object (enumerated) |
Returns the type of the object |