Query: percept_profile
OS: linux
Section: 3erl
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
percept_profile(3erl) Erlang Module Definition percept_profile(3erl)NAMEpercept_profile - Percept Collector.DESCRIPTIONPercept Collector This module provides the user interface for the percept data collection (profiling).DATA TYPESpercept_option() = procs | ports | exclusive :EXPORTSstart(Filename::string()) -> {ok, Port} | {already_started, Port} Equivalent to start(Filename, [procs]) . start(Filename::string(), Options::[percept_option()]) -> {ok, Port} | {already_started, Port} Types Port = port() Starts profiling with supplied options. All events are stored in the file given by Filename. An explicit call to stop/0 is needed to stop profiling. start(Filename::string(), MFA::mfa(), Options::[percept_option()]) -> ok | {already_started, Port} | {error, not_started} Types Port = port() Starts profiling at the entrypoint specified by the MFA. All events are collected, this means that processes outside the scope of the entry-point are also profiled. No explicit call to stop/0 is needed, the profiling stops when the entry function returns. stop() -> ok | {error, not_started} Stops profiling.AUTHORS<> percept 0.8.5 percept_profile(3erl)