object
ports_profiler
Predicate execution box model port profiler.
logtalk_load(ports_profiler(loader))
static, context_switching_calls
Public predicates
start/0
Activates thr ports profiler for followup goals.
static
start
- one
stop/0
Deactivates thr ports profiler.
static
stop
- one
data/0
Prints a table with all port profiling data.
static
data
- one
data/1
Prints a table with all port profiling data for the specified entity.
static
data(Entity)
data(+entity_identifier)
- one
data/2
Prints a table with all port profiling data for the specified entity predicate (or non-terminal).
static
data(Entity,Predicate)
data(+entity_identifier,+predicate_indicator)
- one
data(+entity_identifier,+non_terminal_indicator)
- one
reset/0
Resets all port profiling data.
static
reset
- one
reset/1
Resets all port profiling data for the specified entity.
static
reset(Entity)
reset(+entity_identifier)
- one
port/5
Enumerates, by backtracking, all collected port profiling data.
static
port(Port,Entity,Functor,Arity,Count)
port(?atom,?entity_identifier,?atom,?integer,?integer)
- zero_or_more
clause_location/6
Enumerates, by backtracking, all collected profiled clause location data.
static
clause_location(Entity,Functor,Arity,ClauseNumber,File,BeginLine)
clause_location(?entity_identifier,?atom,?integer,?integer,?atom,?integer)
- zero_or_more
clause/5
Enumerates, by backtracking, all collected clause profiling data.
dynamic
clause(Entity,Functor,Arity,ClauseNumber,Count)
clause(?entity_identifier,?atom,?integer,?integer,?integer)
- zero_or_more
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
clause_location_/6
Internal table of collected profiled clause location data.
dynamic
clause_location_(Entity,Functor,Arity,ClauseNumber,File,BeginLine)
clause_location_(?entity_identifier,?atom,?integer,?integer,?atom,?integer)
- zero_or_more
port_/5
Internal table of collected port profiling data.
dynamic
port_(Port,Entity,Functor,Arity,Count)
port_(?atom,?entity_identifier,?atom,?integer,?integer)
- zero_or_more
clause_/5
Internal table of collected clause profiling data.
dynamic
clause_(Entity,Functor,Arity,ClauseNumber,Count)
clause_(?entity_identifier,?atom,?integer,?integer,?integer)
- zero_or_more
entity_defines_/2
Internal cache for profiled predicates.
dynamic
entity_defines_(Entity,Predicate)
entity_defines_(?entity_identifier,?predicate_indicator)
- zero_or_more
Operators
(none)