The Gauge library package is a graphical interface to the Sicstus
built-in predicates profile_data/4
and profile_reset/1
.
See section Execution Profiling, for more information about execution profiling. The
interface is based on Tcl/Tk (see section Tcl/Tk Interface). Gauge loads Tcl/Tk if it
is not previously loaded.
To use the gauge package, enter the query
| ?- use_module(library(gauge)).
view(:Spec)
spy/1
(see section Spy-points). For example, the
call view([user:_,m2:_])
, will bring up the graphical user
interface on the predicates contained in the modules user
and m2
.
When the display first comes up it is blank except for the control panel.
The graphical interface is pretty much self explanatory. The on-line
help function gives all necessary information.
Go to the first, previous, next, last section, table of contents.