Consultor Eletrônico



Kbase P93997: How to use PROFILER to get timing information about running external procedures?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/25/2008
Status: Verified

GOAL:

How to use PROFILER to get timing information about running procedures?

GOAL:

How to use PROFILER for timing information?

FACT(s) (Environment):

Progress 9.1D
All Supported Operating Systems

FIX:

The following sample show the sequence of PROFILER object handle parameters that need to be set in order to enable timing information about running 4GL code, i.e how much time takes to run each procedure.

PROFILER:ENABLED = TRUE.
PROFILER:DIRECTORY = "c:\temp\".
PROFILER:FILE-NAME = "c:\temp\profiler.out".
PROFILER:LISTINGS = TRUE.
PROFILER:DESCRIPTION = "PROFILER".
PROFILER:PROFILING = TRUE.
PROFILER:TRACE-FILTER = "".

PROFILER:ENABLED = FALSE.
PROFILER:PROFILING = FALSE.
PROFILER:WRITE-DATA().

In this case profiler.out file contains the information generated by Profiler.