Turns on the profiler and profiles the execution of Goal.
profile/0 turns the profiler on and resets all counts accumlated
from previous runs of the profiler. Counts of the number of call,
choice points created and redos tried are maintained by the profiler.
profile/1 performs this same action and then proceeds to execute
Goal, in addition monitoring timing data.
Once execution of the goal has completed, the profiling results can be
Note that the profiler cannot be used when in debugging mode.
This predicate is not supported in runtime systems.