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

ProfileLine object – PB Docs 2019 – PowerBuilder Library

ProfileLine object – PB Docs 2019

ProfileLine object

The ProfileLine object provides information about the lines in each
routine in the performance analysis model, including the number of times
the line was hit, any calls made from the line, and the time (in seconds)
spent on the line and in any called functions. You use the ProfileLine
object in conjunction with the ProfileRoutine and Profiling
objects.

The ProfileLine object has no events.

Properties

ProfileLine property

Datatype

Description

AbsoluteSelfTime

Decimal

The time (in seconds) spent on this line itself. If
the line executed more than once, this is the total time spent
on the line.

AbsoluteTotalTime

Decimal

The time (in seconds) spent on this line and on
lines called from this line. If the line executed more than
once, this is the total time spent on the line and on called
lines.

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 line was
called.

LineNumber

Long

The line number. Line 0 is a special line that
represents the time (in seconds) taken to initialize the local
variables (including calling constructors for autoinstantiated
objects).

MaxSelfTime

Decimal

The longest time (in seconds) spent just on this
line. If the line executed only once, this is the same as
AbsoluteSelfTime.

MaxTotalTime

Decimal

The longest time (in seconds) spent on this line
and on called lines. If the line executed only once, this is the
same as AbsoluteTotalTime.

MinSelfTime

Decimal

The shortest time (in seconds) spent just on this
line. If the line executed only once, this is the same as
AbsoluteSelfTime.

MinTotalTime

Decimal

The shortest time (in seconds) spent on this line
and on called lines. If the line executed only once, this is the
same as AbsoluteTotalTime.

PercentSelfTime

Double

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

PercentTotalTime

Double

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

Routine

ProfileRoutine

The routine that the line is in.

Functions

ProfileLine function

Datatype returned

Description

ClassName

String

Returns the name assigned to the
object

GetContextService

Integer

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

GetParent

PowerObject

Returns a reference to the name of the parent
object

OutgoingCallList

ErrorReturn (enumerated)

Provides a list of the calls (defined as
ProfileCall objects) to other routines from a
line

TypeOf

Object (enumerated)

Returns the type of the object


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