percept_profile(3erl)

percept_profile3erl

Percept collector.

Overview

Percept Collector

This module provides the user interface for the percept data collection (profiling).

Data types

percept_option() = procs | ports | exclusive:

Exports

start(Filename::string()) -> {ok, Port} | {already_started, Port}

Equivalent to start(Filename, [procs]).

start(Filename::string(), Options::[percept_option()]) -> {ok, Port} | {already_started, Port}

Types:

Port = port()

Starts profiling with supplied options. All events are stored in the file given by Filename. An explicit call to stop/0 is needed to stop profiling.

start(Filename::string(), MFA::mfa(), Options::[percept_option()]) -> ok | {already_started, Port} | {error, not_started}

Types:

Port = port()

Starts profiling at the entrypoint specified by the MFA. All events are collected, this means that processes outside the scope of the entry-point are also profiled. No explicit call to stop/0 is needed, the profiling stops when the entry function returns.

stop() -> ok | {error, not_started}

Stops profiling.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

<>

From erlang-manpages 1:19.2.1+dfsg-2+deb9u3 in Debian 9 (Stretch). Parsed by carta from the page's man source.