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

Profiling Trace View – PB Docs 125 – PowerBuilder Library

Profiling Trace View – PB Docs 125

Profiling Trace View

The Trace view uses a TreeView control to display the events
and functions in the trace file. The initial display shows top-level
routines. Each node expands to show the sequence of routine execution.
The fully expanded TreeView shows the complete sequence of executed
instructions for the trace file.

The Trace view uses the trace tree model to show the sequence
of execution. It includes statistics and (for those routines that
originated in PowerScript source) source code.You can use the Trace
View Options section of the Preferences dialog box to control the
display:

  • System routines

    This option controls whether the Trace view includes information
    for lines that execute PowerBuilder system routines.

  • Line information

    This option controls whether the Trace view includes line
    numbers.

The following screen shows a Trace view with several nodes
expanded. The number to the right of each item is the execution
time for that item.

runtp03.gif

Trace view metrics

The Trace view displays two metrics. The profiling tool accesses
these metrics from instances of the TraceTree and TraceTreeNode
objects.

Table 33-7: Metrics in the Profiling Trace View

Entry

What it means

Routine or line number

The routine or line number that was executed.

Execution time

Total execution time for the Tree view
entry. This is total time from the start of the entry to the end
of the entry. For example, if you call the MessageBox function,
this value reflects the elapsed time from when the message box was
opened until the user provided some kind of response.

note.png About preferences

The specifications you make in the Preferences dialog box
control whether the Trace view displays system functions and line
numbers.


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