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

Extracting information from the call graph model – PB Docs 125 – PowerBuilder Library

Extracting information from the call graph model – PB Docs 125

Extracting information from the call graph model

After you have built a call graph model of the application,
you can extract detailed information from it.

For routines and lines, you can extract the timing information
shown in Table 33-9 from
the ProfileRoutine and ProfileLine objects.

Table 33-9: Timing information in the call
graph model

Property

What it means

AbsoluteSelfTime

The time spent in the routine or line
itself. If the routine or line was executed more than once, this
is the total time spent in the routine or line itself.

MinSelfTime

The shortest time spent in the routine
or line itself. If the routine or line was executed only once, this
is the same as AbsoluteSelfTime.

MaxSelfTime

The longest time spent in the routine
or line itself. If the routine or line was executed only once, this
is the same as AbsoluteSelfTime.

AbsoluteTotalTime

The time spent in the routine or line
and in routines or lines called from the routine or line. If the
routine or line was executed more than once, this is the total time
spent in the routine or line and in called routines or lines.

MinTotalTime

The shortest time spent in the routine
or line and in called routines or lines. If the routine or line
was executed only once, this is the same as AbsoluteTotalTime.

MaxTotalTime

The longest time spent in the routine
or line and in called routines or lines. If the routine or line
was executed only once, this is the same as AbsoluteTotalTime.

PercentSelfTime

AbsoluteSelfTime as a percentage of the
total time tracing was active.

PercentTotalTime

AbsoluteTotalTime as a percentage of
the total time tracing was active.

Example: extracting information from a call graph
model

The following function extracts information from a call graph
model about the routines called from a specific routine. You would
use similar functions to extract information about the routines
that called the given routine and about the routine itself.

The function takes a ProfileCall object and an index as arguments
and returns a structure containing the number of times the called
routine was executed and execution times for the called routine.


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