A.59 library(tableutil): Table inspection and statistics utilities
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(tableutil): Table inspection and statistics utilities
          • table_statistics/2
          • table_statistics/3
          • table_statistics/0
          • table_statistics/1
          • table_statistics_by_predicate/0
          • table_statistics_by_predicate/1
          • tstat/2
          • tstat/3
          • tdump/0
          • tdump/1
          • tdump/2
          • tidg/0
          • tidg/1
          • summarize_idg/0
          • summarize_idg/1
    • Packages
Availability::- use_module(library(tableutil)).(can be autoloaded)
Source[det]table_statistics_by_predicate
[det]table_statistics_by_predicate(+Options)
Print statistics on memory usage and lookups per predicate. The version without options dumps all predicates without ordering. Options:
order_by(+Key)
Order the predicates according to Key. Default is tables, the number of answer tables. See table_statistics/2 for a list of values for Key.
top(N)
Only show the top N predicates.
module(Module)
Limit the results to predicates of the given module.