RAD function: prof

A RAD function that returns system performance statistics while checking the system resources used by an application.

Function

prof

Format

prof(n)

Where:

The value of n is the value for the parameter corresponding to the option you want returned.

Parameters

The following parameters are valid for the prof function:

Parameter Description
1 Returns the user CPU time.
2 This parameter is obsolete.
3 Returns the memory allocated.
4 This parameter is obsolete.
5 Returns the number of statements evaluated.
6 This parameter is obsolete.
7 This parameter is obsolete.
8 This parameter is obsolete.
9 This parameter is obsolete.
10 This parameter is obsolete.
11 This parameter is obsolete.
12 Returns the user executing priority.
13 This parameter is obsolete.
20 Returns the symbol table size.
21 Returns the stack size.

Example

prof(5) returns 7752.