Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

OutgoingCallList – PB Docs 2019 – PowerBuilder Library

OutgoingCallList – PB Docs 2019

OutgoingCallList

PowerScript function

Description

Provides a list of the calls to other routines included in a
performance analysis model.

Applies to

ProfileLine and ProfileRoutine objects

Syntax

Argument

Description

instancename

Instance name of the ProfileLine or ProfileRoutine
object.

list

An unbounded array variable of datatype ProfileCall in
which OutgoingCallList stores a ProfileCall object for each call
to other routines from within this routine. This argument is
passed by reference.

aggregate (ProfileRoutine only)

A boolean indicating whether duplicate routine calls will
result in the creation of a single or of multiple ProfileCall
objects.

Return value

ErrorReturn. Returns one of the following values:

  • Success! — The function succeeded

  • ModelNotExistsError! — The model does not exist

Usage

You use the OutgoingCallList function to extract a list of the calls
from a line and/or routine to other routines in a performance analysis
model. You must have previously created the performance analysis model
from a trace file using the BuildModel function. Each caller is defined as
a ProfileCall object and provides the called routine and the calling
routine, the number of times the call was made, and the elapsed time. The
routines are listed in no particular order.

The aggregate argument indicates whether duplicate routine calls
result in the creation of a single or of multiple ProfileCall objects.
This argument has no effect unless line tracing is enabled and a calling
routine calls the current routine from more than one line. If aggregate is
true, a new ProfileCall object is created that aggregates all calls from
the calling routine to the current routine. If aggregate is false,
multiple ProfileCall objects are returned, one for each line from which
the calling routine called the called routine.

Examples

This example gets a list of the routines included in a performance
analysis model and then gets a list of the routines called by each
routine:

See also

BuildModel

IncomingCallList


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x