This module provides a simple frontend on the execution profiler with
a hook to the GUI visualiser for profiling results defined in
library(swi/pce_profile).
once(Goal) under the execution profiler. If the (xpce)
GUI is enabled this predicate is hooked by library(swi/pce_profile)
and results are presented in a gui that enables navigating the call tree
and jump to predicate implementations. Without the GUI, a simple textual
report is generated. Defined options are:
cpu or wall time. The default is CPU
time.true (all ports), false
(call port only) or classic (all with some errors).
Accomodates space/accuracy tradeoff building call tree. Default is
defined by the Prolog flag profile_ports, which defaults to true.true (default false), show cumulative
output in a textual report.library(test_cover).true (default false), show cumulative
output in a textual report.summary:Dict
true, false or classic
list_of(Relative)list_of(Relative)Relative is a term of the shape below that represents a caller or callee. Future versions are likely to use a dict instead.
node(PredicateIndicator, CycleID, Ticks, TicksSiblings,
Calls, Redos, Exits)
nodes key.