API Reference tools v3.5
Modules
The module cover
provides a set of functions for coverage analysis of Erlang programs, counting how many times each executable line of code is executed when a program is run.
An executable line contains an Erlang expression such as a matching or a function call. A blank line or a line containing a comment, function head or pattern in a case
- or receive
statement is not executable.
The cprof
module is used to profile a program to find out how many times different functions are called. Breakpoints similar to local call trace, but containing a counter, are used to minimise runtime performance impact.
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.
This module is used to profile a program to find out how the execution time is used. Trace to file is used to minimize runtime performance impact.
The module instrument
contains support for studying the resource usage in an Erlang runtime system. Currently, only the allocation of memory can be studied.
The lcnt
module is used to profile the internal ethread locks in the Erlang Runtime System. With lcnt
enabled, internal counters in the runtime system are updated each time a lock is taken. The counters stores information about the number of acquisition tries and the number of collisions that has occurred during the acquisition tries. The counters also record the waiting time a lock has caused for a blocked thread when a collision has occurred.
The module make
provides a set of functions similar to the UNIX type Make
functions.
A TAGS
file is used by Emacs to find function and variable definitions in any source file in large projects. This module can generate a TAGS
file from Erlang source files. It recognises functions, records, and macro definitions.
Xref is a cross reference tool that can be used for finding dependencies between functions, modules, applications and releases.