object

# ports

> Predicate execution box model port profiler.

author:
  `Paulo Moura`
version:
  `1.1`
date:
  `2018/2/28`

compilation flags:
  `static, context_switching_calls`

provides:
  `logtalk::debug_handler_provider/1`
  `logtalk::debug_handler/2`

## Public interface

### data/0

> Prints a table with all port profiling data.

compilation flags:
  `static`
mode – number of proofs:
  `data – one`

### data/1

> Prints a table with all port profiling data for the specified entity.

compilation flags:
  `static`
template:
  `data(Entity)`
mode – number of proofs:
  `data(+entity_identifier) – one`

### reset/0

> Resets all port profiling data.

compilation flags:
  `static`
mode – number of proofs:
  `reset – one`

### reset/1

> Resets all port profiling data for the specified entity.

compilation flags:
  `static`
template:
  `reset(Entity)`
mode – number of proofs:
  `reset(+entity_identifier) – one`

### port/5

> Enumerates, by backtracking, all collected port profiling data.

compilation flags:
  `static`
template:
  `port(Port,Entity,Functor,Arity,Count)`
mode – number of proofs:
  `port(?atom,?entity_identifier,?atom,?integer,?integer) – zero_or_more`

## Protected interface

(see related entities)

## Private predicates

### port_/5

> Internal table of collected port profiling data.

compilation flags:
  `dynamic`
template:
  `port_(Port,Entity,Functor,Arity,Count)`
mode – number of proofs:
  `port_(?atom,?entity_identifier,?atom,?integer,?integer) – zero_or_more`

## Operators

### (none)

## Remarks

### (none)

## See also

### (none)