Next: Restoring counter values, Previous: Resetting counters, Up: Counter and timer statements [Contents][Index]
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).