A.48 library(statistics): Get information about resource usage
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(statistics): Get information about resource usage
          • statistics/0
          • statistics/1
          • thread_statistics/2
          • time/1
          • call_time/2
          • call_time/3
          • profile/1
          • profile/2
          • show_profile/1
          • profile_data/1
          • profile_procedure_data/2
    • Packages
Availability::- use_module(library(statistics)).(can be autoloaded)
Source[nondet]thread_statistics(?Thread, -Stats:dict)
Obtain statistical information about a single thread. Fails silently of the Thread is no longer alive.
Stats is a dict containing status, time and stack-size information about Thread.