logo       

noprofile: msg#01588

Subject: noprofile
Hello,

The SWI-Prolog manual says:

noprofile(+Name/+Arity, ...)
    Declares the predicate Name/Arity to be invisible to the profiler.
The time spend in the named predicate is added to the caller and the
callees     are linked directly to the caller. This is particulary
useful for simple meta-predicates such as call/1, ignore/1, catch/3, etc.

So I conclude that I can state

?- noprofile(call/1).

This gives me the following

ERROR: '$set_predicate_attribute'/3: No permission to modify
static_procedure `call/1'

which is not what I want...




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm




<Prev in Thread] Current Thread [Next in Thread>