The following predicates can be used to access execution statistics.
fd_statistics
fd_statistics(
?Key,
?Value)
statistics/2
.
Without arguments, displays on the standard error stream a summary of the following statistics, and zeroes all counters. With arguments, for each of the possible keys Key, Value is unified with the current value of a counter, which is simultaneously zeroed. The following counters are maintained:
resumptions
entailments
prunings
backtracks
constraints