Erlang -- percept

User's Guide
Reference Manual
Release Notes
PDF
Top

Percept
Reference Manual
Version 0.8.6

Expand All
Contract All

Table of Contents

- egd
  - Top of manual page
  - color/1
  - create/2
  - destroy/1
  - filledEllipse/4
  - filledRectangle/4
  - line/4
  - rectangle/4
  - render/1
  - render/2
  - render/3
  - save/2
  - text/5
- percept
  - Top of manual page
  - analyze/1
  - profile/1
  - profile/2
  - profile/3
  - start_webserver/0
  - start_webserver/1
  - stop_profile/0
  - stop_webserver/0
- percept_profile
  - Top of manual page
  - start/1
  - start/2
  - start/3
  - stop/0

# 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.