show_profile(+Options)This predicate first calls prolog:show_profile_hook/1.
If XPCE is loaded, this hook is used to activate a GUI interface to
visualise the profile results. If not, a report is printed to the
terminal according to Options:
- top(+N)
- Show the only top N predicates. Default is 25.
- cumulative(+Bool)
- If
true
(default false
), include the time
spent in children in the time reported for a predicate.
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.