A.52 library(statistics): Get information about resource usage
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(statistics): Get information about resource usage
statistics/0
statistics/1
thread_statistics/2
time/1
call_time/2
call_time/3
Packages
Availability:
:- use_module(
library(statistics)
).
(can be autoloaded)
[nondet]
thread_statistics
(
?Thread, -Stats:dict
)
Obtain statistical information about a single thread. Fails silently of the
Thread
is no longer alive.
Stats
is a dict containing status, time and stack-size information about
Thread
.