expression evaluation
structure access
string scanning
type conversion
storage allocation
garbage collection
E_Smember
is the symbolic name for set membership
test
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
evinit
includes procedures that support
monitoring activitiesevdefs.icn
(on LPATH
) provides
symbolic definitions for event codesargs
provides the command line arguments, including the
program to loadallocview
might have the
form
allocview rsg -l 1000 <rsg.datwhich specifies that
allocview
is to monitorrsg
run asrsg -l 1000 <rsg.dat
EvInit(args)
calls load()
and initializes
monitoring; it may failEvGet()
requests an eventEvGet()
returns and
the event code and value are set in &eventcode
and &eventvalue
in the MP&eventvalue
contains (a pointer to) the set in SP EvGet()
can be used to specify the kinds
of events that are wantedStructMask
is the name of the mask for structure access eventsEvGet(StructMask)limits the kinds of events reported to those associated with structure access