RoutineList

Description

Provides a list of the routines included in a performance analysis model.

Applies to

ProfileClass and Profiling objects

Syntax

instancename.RoutineList ( list )

Argument

Description

instancename

Instance name of the ProfileClass or Profiling object.

list

An unbounded array variable of datatype ProfileRoutine in which RoutineList stores a ProfileRoutine object for each routine that exists in the model within a class. This argument is passed by reference.

Returns

ErrorReturn. Returns one of the following values:

Usage

Use this function to extract a list of the routines included in the performance analysis model in a particular class. You must have previously created the performance analysis model from a trace file using the BuildModel function. Each routine is defined as a ProfileRoutine object and provides the time spent in the routine, any called routines, the number of times each routine was called, and the class to which the routine belongs. The routines are listed in no particular order.

Object creation and destruction for a class are each indicated by a routine in this list as well as by embedded SQL statements.

Examples

Example 1

This example lists the routines included in each class found in a performance analysis model:

Long ll_cnt

ProfileCall lproc_call[]


lpro_model.BuildModel()

lpro_model.RoutineList(iprort_list)

...

See also