next up previous
Next: About this document Up: DECLARATIONS Previous: PROCEDURES

STATISTICS

The GLIDER system collects statistics of nodes and variables. The nodes and variables for which statistics are desired must be specified by the user. After the heading STATISTICS, a list of node identifiers and simple real variable identifiers may follow.

The variables for which statistics are required, must be initialized in INIT.

If one of the elements of the list is the reserved word ALLNODES, the statistics of all nodes are given.

The statistics are always displayed at the end of the simulation run, but they may also be called by the STAT procedure in the program or by user's interruption during the execution of the program.

Examples:

    STATISTICS Dock, Crane, TotalWeight;
Statistics of the nodes Dock and Crane, and the variable TotalWeight will be displayed.
    STATISTICS ALLNODES, TotalCash, Money[1], Money[2], 
               NumberTrans;
Statistics of all the nodes, and the variables TotalCash, Money[1], Money[2], and NumberTrans will be displayed.



domingo c
Mon Mar 20 11:09:25 PST 2000