- show_profile(+Options)
- Display last collected profiling data. Options are
- top(N)
- When generating a textual report, show the top N predicates.
- cumulative(Bool)
- If
true (default false), show cumulative output in
a textual report.
- measure(Measure)
- One of
time (default) or memory. The latter shows the
global stack allocated by the predicate itself and by its
callees, and the global stack discarded by backtracking into
the predicate. For example, for p :- \+ \+ q, q allocates
and p discards. The predicates are sorted on the allocated
memory.