call_time(:Goal,
-Time:dict)
- wall:Seconds
- cpu:Seconds
- inferences:Count
call_time/2 is defined as below. Note that for call_time/2 the time is only available if Goal succeeds.
call_time(Goal, Time) :-
call_time(Goal, Time, Result),
call(Result).
| Result | is one of true, false
or throw(E), depending on whether or not the goal succeeded
or raised an exception. Note that
Result may be called using call/1
to propagate the failure or exception. |