Module percept_profile

Percept Collector.

Description

Percept Collector

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

Data Types

percept_option()

percept_option() = procs | ports | exclusive | scheduler

Function Index

start/1Equivalent to start(Filename, [procs]).
start/2Starts profiling with supplied options.
start/3Starts profiling at the entrypoint specified by the MFA.
stop/0Stops profiling.

Function Details

start/1

start(Filename::file:filename()) -> {ok, port()} | {already_started, port()}

Equivalent to start(Filename, [procs]).

start/2

start(Filename::file:filename(), Options::[percept_option()]) -> {ok, port()} | {already_started, 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/3

start(Filename::file:filename(), Entry::{atom(), atom(), list()}, Options::[percept_option()]) -> ok | {already_started, port()} | {error, not_started}

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/0

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

Stops profiling.


Generated by EDoc