From 213af5f917f71f31685c506a56bc958e1302faad Mon Sep 17 00:00:00 2001 From: Paulo Moura Date: Fri, 22 Oct 2010 00:57:57 +0100 Subject: [PATCH] Added description of the hook predicate user:prolog_predicate_name/2 to the user manual. --- docs/yap.tex | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/yap.tex b/docs/yap.tex index 28026fd38..0f57148b9 100644 --- a/docs/yap.tex +++ b/docs/yap.tex @@ -7298,6 +7298,7 @@ Show profiling info for the top-most @var{N} predicates. @end table +The @code{showprofres/0} and @code{showprofres/1} predicates call a user-defined multifile hook predicate, @code{user:prolog_predicate_name/2}, that can be used for converting a possibly explicitly-qualified callable term into an atom that will used when printing the profiling information. @node Call Counting, Arrays, Profiling, Top @section Counting Calls