This library provides predicates to obtain information about resource usage by your program. The predicates of this library are for human use at the toplevel: information is printed. All predicates obtain their information using public low-level primitives. These primitives can be use to obtain selective statistics during execution.
Stats | is a dict containing status, time and stack-size information about Thread. |
Statistics are retrieved using thread_statistics/3 on the calling thread. Note that not all systems support thread-specific CPU time. Notable, this is lacking on MacOS X.
Result | is one of true or false
depending on whether or not the goal succeeded. |
cpu
or wall
time. The default is CPU
time.
true
(default false
), show cumulative
output in a textual report.
true
(default false
), show cumulative
output in a textual report.
summary
:
Dict
list_of(Relative)
list_of(Relative)
Relative is a term of the shape below that represents a caller or callee. Future versions are likely to use a dict instead.
node(PredicateIndicator, CycleID, Ticks, TicksSiblings, Calls, Redos, Exits)
nodes
key.