Raxol. Performance. FprofWrapper
(Raxol v2.6.0)
View Source
Thin wrapper around :fprof that isolates apply/3 calls.
:fprof is an optional OTP application that may not be available at
compile time (e.g. in releases without :tools). All interaction goes
through apply/3 to avoid undefined-function compile warnings.
This module centralises those calls so the rest of the codebase can
use normal function calls instead of apply(:fprof, ...).
Summary
Functions
Analyse profiling results.
Profile accumulated trace data.
Profile with options.
Stop fprof, ignoring errors if it isn't running.
Start the fprof server.
Stop the fprof server.
Start or stop tracing with the given options.
Functions
Analyse profiling results.
@spec profile() :: term()
Profile accumulated trace data.
Profile with options.
@spec safe_stop() :: :ok
Stop fprof, ignoring errors if it isn't running.
@spec start() :: term()
Start the fprof server.
@spec stop() :: term()
Stop the fprof server.
Start or stop tracing with the given options.