Documentation Prolog Predicate Reference statistics statistics/2


Display data of a single statistic.


statistics( +atom, -term )

statistics(Statistic, Value) unifies Value with the system statistic determined by Statistic. statistics/0 prints a list of all the available keys for Statistic.

atomsTotal number of defined atoms.
clausesTotal number of clauses in the program.
cputimeCPU time since thread was started (in milliseconds).
epochTime stamp when thread was started.
inferencesTotal number of resolution steps.
modulesTotal number of loaded modules.
predicatesTotal number of predicates in the program.
runtime[CPU time, CPU time since last] (in milliseconds).
threadsTotal number of threads in the session.