tstat(?Value,
?Top)- answers
- duplicate_ratio
- space_ratio
- gen(call)
- space
- compiled_space
- See table_statistics/2.
- deadlock
- Times this table was involved in a deadlock (cycle of threads waiting for each others table to complete)
- wait
- Times a thread waited for this table.
- variables
- The number of variables in the variant. The tabling logic adds a term
ret(...)to the table for each answer, where each variable is an argument of theret(...)term. The arguments are placed in depth-first lef-right order they appear in the variant. Optimal behaviour of the trie is achieved if the variance is as much as possible to the rightmost arguments. Poor allocation shows up as a lowspace_ratiostatistics.
Below are some examples