Next: , Previous: , Up: Counter and timer statements   [Contents][Index]


4.6.2 Storing counter values

A program can store the current values of all of the variables listed in Predeclared variables as follows:

<store_stmt> ::= <source_task>
STORES ITS COUNTERS

For example, writing ‘TASK 0 STORES ITS COUNTERS’ causes task 0 to store the current values of elapsed_usecs , total_msgs, bit_errors , etc. The values are not modified. Note that ITS and THEIR, like STORE and STORES, are considered synonyms (see Primitives).

Scott Pakin, pakin@lanl.gov