Open Jean-Luc-Picard-2021 opened 5 days ago
I cannot list what is available, this here doesn't work:
?- statistics(K, V).
throw(error(instantiation_error,atom)).
SICStus Prolog has memory_used:
| ?- statistics(memory_used, X).
X = 16291536 ?
https://sicstus.sics.se/sicstus/docs/latest/html/sicstus.html/ref_002dmgc_002dove_002dsta.html
'frames', 'choices', 'trails' & 'slots'. there is no memory stat.
I found a way to measure space usage in SWI-Prolog:
Can this be ported to Trealla Prolog? I don't find the corresponding statistics key: