Module percept

Percept - Erlang Concurrency Profiling Tool.

Behaviours: application.

Description

Percept - Erlang Concurrency Profiling Tool

This module provides the user interface for the application.

Data Types

percept_option()

percept_option() = procs | ports | exclusive

Function Index

analyze/1Analyze file.
profile/1
profile/2
profile/3
start_webserver/0Starts webserver.
start_webserver/1Starts webserver.
stop_profile/0
stop_webserver/0Stops webserver.

Function Details

analyze/1

analyze(Filename::string()) -> ok | {error, Reason}

Analyze file.

profile/1

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

See also: percept_profile.

profile/2

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

See also: percept_profile.

profile/3

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

See also: percept_profile.

start_webserver/0

start_webserver() -> {started, Hostname, Port} | {error, Reason}

Starts webserver.

start_webserver/1

start_webserver(Port::integer()) -> {started, Hostname, AssignedPort} | {error, Reason}

Starts webserver. If port number is 0, an available port number will be assigned by inets.

stop_profile/0

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

See also: percept_profile.

stop_webserver/0

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

Stops webserver.


Generated by EDoc