API Reference ezprofiler v0.1.0

modules

Modules

Provides a simple to use profiling mechanism to inspect the behavior of an application on a target VM. Under the hood it utilizes Erlang's profiler tools, namely eprof, the default, fprof or cprof. This runs as a stand-alone escript for both for ease of use and to minimize impact on the target VM.

This module handles code profiling. The user hits 'c' or 'c label' and any process whose code calls the function 'EZCodeProfiler.start_profiling' will be profiled until 'EZCodeProfiler.stop_profiling` is called. Only a single process at a time can be profiled. Other profiling functions allow for pipe profiling and function profiling. The module is loaded from the escript, replacing the one in the release, the reverse happens when the escript terminates. The module in the release has functions like: def start_profiling() do end So they are all no-ops with no run-time cost. There is a minimal run-time cost when the module is loaded, as much as a message to an Agent.