percept

Module

percept

Module summary

Percept - Erlang Concurrency Profiling Tool.

Description

Percept - Erlang Concurrency Profiling Tool

This module provides the user interface for the application.

Data types

percept_option() = procs | ports | exclusive

Exports

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

Analyze file.

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

See also: percept_profile.

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

See also: percept_profile.

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

See also: percept_profile.

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

Types:

Hostname = string()
Port = integer()
Reason = term()

Starts webserver.

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

Types:

Hostname = string()
AssignedPort = integer()
Reason = term()

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

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

See also: percept_profile.

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

Stops webserver.

© 2010–2017 Ericsson AB
Licensed under the Apache License, Version 2.0.