eprof

eprof

Module

eprof

Module summary

A Time Profiling Tool for Erlang

Description

The module eprof provides a set of functions for time profiling of Erlang programs to find out how the execution time is used. The profiling is done using the Erlang trace BIFs. Tracing of local function calls for a specified set of processes is enabled when profiling is begun, and disabled when profiling is stopped.

When using Eprof, expect a slowdown in program execution.

Exports

start() -> {ok,Pid} | {error,Reason}

Types:

Pid = pid()
Reason = {already_started,Pid}

Starts the Eprof server which holds the internal state of the collected data.

start_profiling(Rootset) -> profiling | {error, Reason}start_profiling(Rootset,Pa