ProfileCall object

The ProfileCall object provides information about the calls in the performance analysis model, including information about the called routine and the calling routine, the number of times the call was made, and the elapsed time (in seconds). You use the ProfileCall object in conjunction with the ProfileRoutine and Profiling objects.

The ProfileCall object has no events.

Properties

ProfileCall property

Datatype

Description

AbsoluteSelfTime

Decimal

The time (in seconds) spent in the called routine.

AbsoluteTotalTime

Decimal

The time (in seconds) spent in the called routine and in subsequent called routines.

CalledRoutine

ProfileRoutine

An object of datatype ProfileRoutine containing the destination of the call.

CallingLine

ProfileLine

An object of datatype ProfileLine containing the initiating line of the call. If the call object represents an aggregation of multiple calls from a routine, an invalid object is returned.

CallingRoutine

ProfileRoutine

An object of datatype ProfileRoutine containing the routine that initiated the call.

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

HitCount

Long

The number of times the calling routine called the called routine.

PercentCalleeSelfTime

Double

AbsoluteSelfTime as a percentage of the total time (in seconds) the calling routine was active.

PercentCalleeTotalTime

Double

AbsoluteTotalTime as a percentage of the total time (in seconds) the calling routine was active.

PercentCallerTotalTime

Double

The total time (in seconds) spent in the calling routing as a percentage of the total time the calling routine was active.


Functions

ProfileCall function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the name assigned to the object.

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object.

TypeOf in PowerScript Reference

Object (enumerated)

Returns the type of the object.