• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

4.42.1 library(prolog_profile): Execution profiler
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Execution profiling
          • library(prolog_profile): Execution profiler
            • profile/1
            • profile/2
            • show_profile/1
            • profile_data/1
            • profile_procedure_data/2
    • Packages
Availability::- use_module(library(prolog_profile)).(can be autoloaded)
Sourceshow_profile(+Options)
Display last collected profiling data. Options are
top(N)
When generating a textual report, show the top N predicates.
cumulative(Bool)
If true (default false), show cumulative output in a textual report.
measure(Measure)
One of time (default) or memory. The latter shows the global stack allocated by the predicate itself and by its callees, and the global stack discarded by backtracking into the predicate. For example, for p :- \+ \+ q, q allocates and p discards. The predicates are sorted on the allocated memory.
ClioPatria (version V3.1.1-59-g7b9a7a3)