profile_data/4
[development]profile_data(
+Spec,
?Selection,
?Resolution,
?Data)
Data is profiling data collected from the predicates covered by the generalized predicate spec Spec.
A predicate specification, or a list of such.
[calls,choice_points,instructions]
The kind of profiling data to be collected.
[predicate,clause]
The level of resolution of the profiling data.
Will be instantiated to a list of key-value pairs.
The Selection argument determines the kind of profiling data to be collected. If uninstantiated, the predicate will backtrack over its possible values, which are:
calls
choice_points
instructions
The Resolution argument determines the level of resolution of the profiling data to be collected. If uninstantiated, the predicate will backtrack over its possible values, which are:
predicate
-
Count,
where Count is a sum of the corresponding counts per clause.
clause
-
Count.
Can be used to backtrack over all profiling data for the given Spec.