This module performs an automatic cost center configuration for a given goal. As a result it gives the trace of the highest resource (e.g., time, counts, ticks, etc.) consuming path starting from the goal.
Usage 1:
Same as cc_auto_conf/5 applied to time.
Usage 2:
Same as cc_auto_conf/3 able to deal with modular programs.
Usage:cc_auto_conf(Field,Goal,Cond,Goals,Tree)
Auto configuration of cost centers in order to find the sub-graph Goals of the call graph that is responsible of the performance leak. Goal is the call to be profiled and Field is the resource name w.r.t. the optimization is made (e.g., time, counts, ticks, etc.).
Usage:
Given a name of a file erases its content
Usage:
Given a set of predicates writes a cost_center assertion for all of them.