You can force a printed output by:
unload_file('/usr/lib/swi-prolog/xpce/prolog/lib/swi/pce_profile.pl').
[user].
pce_profile:pce_show_profile :- fail.
| Did you know ... | Search Documentation: |
| Predicate show_profile/1 |
show_profile(+Options)true (default false), show cumulative
output in a textual report.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.You can force a printed output by:
unload_file('/usr/lib/swi-prolog/xpce/prolog/lib/swi/pce_profile.pl').
[user].
pce_profile:pce_show_profile :- fail.