![]() |
YAP 7.1.0
|
The count profiler works by incrementing counters at procedure entry or backtracking. More...
The count profiler works by incrementing counters at procedure entry or backtracking.
It provides exact information:
These are the current predicates to access and clear profiling data:
class profile_data/3 |
profile_data( ?Na/Ar, ?Parameter, -Data_)
Give current profile data on Parameter for a predicate described by the predicate indicator Na/Ar If any of Na/Ar or Parameter are unbound, backtrack through all profiled predicates or stored parameters Current parameters are:
Reset all profiling information
class showprofres/1 |
showprofres( N)
Show profiling info for the top-most N predicates
The showprofres/0 and showprofres/1
predicates call a user-defined multifile hook predicate, 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