AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Execution profiling
          • Profiling predicates
            • profile/1
            • profile/2
            • show_profile/1
            • profiler/2
            • reset_profiler/0
            • noprofile/1
    • Packages
Availability::- use_module(library(statistics)).(can be autoloaded)
Sourceprofile(:Goal)
Execute Goal just like once/1, collecting profiling statistics, and call show_profile([]). With XPCE installed this opens a graphical interface to examine the collected profiling data.
Availability::- use_module(library(statistics)).(can be autoloaded)
Sourceprofile(:Goal)
profile(:Goal, +Options)
Run Goal under the execution profiler. Defined options are:
time(Which)
Profile cpu or wall time. The default is CPU time.
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.