System Options dialog box: Profiling tab – PB Docs 150

System Options dialog box: Profiling tab

Description

Initiates the logging of selected activities to a trace file
during the running of your entire application in the PowerBuilder
development environment.

Dialog options

Enable Tracing

Turn tracing on. This option is disabled when you restart PowerBuilder
or change to a different application.

Prompt for Override

Check this box if you want PowerBuilder to prompt you before
overwriting an existing trace file.

Trace File Name

A name identifying the trace file that will be generated from
the running application. The default is the name of the PowerBuilder library
that contains the application with the suffix .PBP for PowerBuilder profile.

Trace Label

A phrase or sentence identifying the tracing blocks in your
trace file. If you don’t provide a value for the label,
an empty string is placed in the trace file.

Timer Kind

A value that identifies the kind of timing information you
want included in the trace file.

Choose

To

None

Omit timing information

Clock

Use the wall clock timer

Process

Use the process timer

Thread

Use the thread timer

The default timer used to record when each activity begins
and ends is the wall clock timer. The clock timer measures an absolute
time with reference to an external activity, such as the computer’s
startup time. The clock timer measures time in microseconds and,
depending on the speed of your computer’s central processing
unit, it can offer a resolution of less than one microsecond. The process
and thread timers measure time in microseconds with reference to when
the process or thread being executed started. Use the thread timer
for distributed applications. Both the process and thread timers
give you a more accurate measurement of how long the process or
thread is taking to execute, but both have a lower resolution than
the clock timer.

Trace Activities

Values identifying the application activities you want logged
to the trace file.

Check

To trace

Routine Entry/Exit

The occurrence of function and event
calls

Routine Line Hits

The execution of any line in any function
or event

Embedded SQL

The use of Embedded SQL statement calls

Object Creation/Destruction

The occurrence of object creation and destruction

User Defined Activities

The occurrence of an activity you defined

System Errors

The occurrence of a system error or warning

Garbage Collection

The occurrence of garbage collection

Default

Routine entry and exit, embedded SQL,
and garbage collection


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