Library to access profile data of the Prolog system
IMPORT NOTE: If this module is used, one must set the PAKCS option
"plprofile" (wiht ":set +plprofile") in order to make the profile
data available from the Prolog system!
Author: Michael Hanus
Version: February 2004
| Exported names: |
Datatypes:
ProfileSelection
Constructors:
Backtracks
| Calls
| ChoicePoints
| ExecTime
Functions:
getHnfDefinitions
| prim_profileClauses
| prim_profilePredicates
| profileClauses
| profilePredicates
| profileReset
| profileView
| Summary of exported functions: |
|
||
|
||
|
||
|
||
|
||
|
||
|
| Imported modules: |
| Exported datatypes: |
Constructors:
:: ProfileSelection
:: ProfileSelection
:: ProfileSelection
:: ProfileSelection
| Exported functions: |
:: IO ()
Resets all profile counters.
:: ProfileSelection -> IO [(String,Int)]
Gets profile data of all predicates.
:: ProfileSelection -> IO [(String,Int)]
:: ProfileSelection -> String -> IO [(Int,Int)]
Gets profile data of all clauses of a particular predicate. The result is a list of pairs (predicate number, profile count)
:: ProfileSelection -> String -> IO [(Int,Int)]
:: IO ()
Starts graphical viewer for profile data via the Gauge profiling tool of Sicstus Prolog.
:: IO [(Int,String)]
Gets the association of HNF clauses to functions symbols (only for internal use).