Summary Documentation: Monitoring Procedures

Library version 9.4.3



colormap.icn: Procedures to map type event to color

colormap(palette) returns a table that maps event-monitoring codes
for allocation events into RGB specifications for Icon. The
argument is the name of a palette, as given in the MemMon
system.  The default for palette is "standard".

[ Full documentation | Source code ]


colortyp.icn: Procedure to produce table of colors for Icon types

Links:  typecode

[ Full documentation | Source code ]


em_setup.icn: Procedures to set up execution monitors

These procedures provide support for the routine parts of building
Icon execution monitors, including what's necessary for them to
run stand-alone as well as under the control of monitor coordinators
like eve and vc.

     vis_setup(args[])       opens a window with attributes given
                             by args[]

     em_setup(sp)            loads sp as the program to be monitored

     context_setup(mask)     returns table of graphics context for
                             mask

     prog_name()             returns the name of the source program
                             for the SP set up by em_setup()

     em_end()                hold visualization window open if (a)
                             there is one and (b) monitoring is
                             stand alone

[ Full documentation | Source code ]


emutils.icn: Procedures to support MT-Icon monitors

evname(s) maps the event code to a standard descriptive phrases and vice
versa.

[ Full documentation | Source code ]


evaltree.icn: Procedures to maintain activation tree

Usage: evaltree(cset, procedure, record constructor)

The record type must have fields node, parent, children

See "A Framework for Monitoring Program Execution", Clinton L. Jeffery,
TR 93-21, Department of Computer Science, The University of Arizona,
July 30, 1993.

[ Full documentation | Source code ]


evinit.icn: Procedures for event monitoring

This file provides initialization for event monitors.

This file is intended for use with event monitors running under
MT Icon.

[ Full documentation | Source code ]


evnames.icn: Procedures to map between event codes and names

evnames(x) creates a two-way table. Indexed by an event code, it
produces a descriptive phrase for the code. Indexed by the descriptive
phrase it produces the event code. It returns the value for key x.

[ Full documentation | Source code ]


evsyms.icn: Procedures to produce table of event codes and symbols

evsyms() returns returns a two-way table. Indexed by an event code, it
produces the symbol (global identifier name) for the code. Indexed by the
symbol of the code, it produces the event code.

This procedure is intended for use in event monitors under MT Icon.

[ Full documentation | Source code ]


evtmap.icn: Procedure to map event code names to values

evtmap(s) returns the event-code value for the event string name s.  It
fails is s is not the name of an event value.

[ Full documentation | Source code ]


evutils.icn: Procedures to support event monitoring

This may not be the latest version of this file, despite the date.

[ Full documentation | Source code ]


hexlib.icn: Procedures for hexagons

This file is used by algae but is not finished or supported.

[ Full documentation | Source code ]


loadfile.icn: Procedure to produce and load program on the fly

loadfile(exp, link, ...) produces and loads a program that generates
the results of exp.  The trailing arguments name link
files needed for the expression.  loadfile() returns a procedure
that generates the results.

[ Full documentation | Source code ]


opname.icn: Procedure to map VM opcodes to their names

opnames() maps the virtual-machine instruction numbers to symbolic names.

[ Full documentation | Source code ]


typebind.icn: Procedures to produce table of graphic contexts for type

typebind(window, codes, opts) returns a table of graphic contexts bound to
window with foreground colors keyed by type in the string of event codes.

Codes for which there is no corresponding color are ignored.

Note:  Event monitoring global identifiers must be linked by the program
that uses this procedure.

[ Full documentation | Source code ]


typesyms.icn: Procedure to map type codes to event codes

typesyms() returns a table that maps type codes to event codes.  The
table can be subscripted either by one-character strings in the style
of typecode() or by the integer values given by T_type globals.

This procedure is intended for use with event monitors running under
MT Icon.

[ Full documentation | Source code ]


viewpack.icn: Procedures to visualize color streams

These procedures provide various ways of visualizing a stream of colors.

[ Full documentation | Source code ]


Program Library Page | Icon Home Page