MT Icon Instrumentation

Events

expression evaluation
structure access
string scanning
type conversion
storage allocation
garbage collection

Monitoring Programs

link evinit               # support procedures

$include "evdefs.icn"     # event definitions

procedure main(args)

   EvInit(args) | ...     # load the SP

   while EvGet() do {     # request event in SP
       ...                # process event
      }

       ...                # final processing (if any)


end
allocview rsg -l 1000 <rsg.dat

which specifies that allocview is to monitor rsg run as

rsg -l 1000 <rsg.dat
EvGet(StructMask)

limits the kinds of events reported to those associated with structure access