%SYS
Routine Class Reference

This class represents system metrics captured for routines. More...

Inheritance diagram for Routine:
Collaboration diagram for Routine:

Static Public Member Functions

SYS.Stats.Global Sample ()
 Instantiate the class and fill in current values for all properties.
 

Public Attributes

 RtnCallsLocal
 The count of all routine calls where the routine is stored locally. More...
 
 RtnCallsRemote
 The count of all routine calls where the routine is stored remotely. More...
 
 RtnCommands
 The count of all routine commands executed on the system. More...
 
 RtnFetchLocal
 The number of times that local routines were fetched from disk into buffers (or saved to disk) More...
 
 RtnFetchRemote
 The number of times that remote routines were fetched from disk into buffers (or saved to disk) More...
 
 RtnLines
 The count of all routine lines executed on the system. More...
 
 RtnNotCached
 The number of times processes were unable to directly access the routine in memory. More...
 

Detailed Description

This class represents system metrics captured for routines.

Each property is a different metric. A class may be instantiated by calling the class method 'Sample', and then the current value of each property can be accessed.

For example:

s ref=##class(SYS.Stats.Routine).Sample() w ref.RtnCommands ; display number of routine commands executed

System stats for Routine activity

Member Data Documentation

◆ RtnCallsLocal

RtnCallsLocal

The count of all routine calls where the routine is stored locally.

 

◆ RtnCallsRemote

RtnCallsRemote

The count of all routine calls where the routine is stored remotely.

 

◆ RtnCommands

RtnCommands

The count of all routine commands executed on the system.

 

◆ RtnFetchLocal

RtnFetchLocal

The number of times that local routines were fetched from disk into buffers (or saved to disk)

 

◆ RtnFetchRemote

RtnFetchRemote

The number of times that remote routines were fetched from disk into buffers (or saved to disk)

 

◆ RtnLines

RtnLines

The count of all routine lines executed on the system.

NOTE: This property is deprecated, line counts are no longer available and this actually returns the RtnCommands. It is left here for backwards compatibility, but should no longer be used.  

◆ RtnNotCached

RtnNotCached

The number of times processes were unable to directly access the routine in memory.

An indicator of extra work in loading routines.