The
Since breakpoints are used there is no need for special
compilation of any module to be profiled. For now these
breakpoints can only be set on BEAM code so
The size of the call counters is the host machine word size. One bit is used when pausing the counter, so the maximum counter value for a 32-bit host is 2147483647.
The profiling result is delivered as a term containing a sorted list of entries, one per module. Each module entry contains a sorted list of functions. The sorting order in both cases is of decreasing call count.
Call count tracing is very lightweight compared to other forms
of tracing since no trace message has to be generated. Some
measurements indicates performance degradation in the vicinity
of 10 percent.
Collects and analyses the call counters presently in the
node for either module
If call counters are still running while
If the
All functions with a
Pause call count tracing for all functions in all modules
and stop it for all functions in modules to be
loaded. This is the same as
See also
Pause call counters for matching functions in matching
modules. The
The call counters for all matching functions that has got call count breakpoints are paused at their current count.
Return the number of matching functions that can have
call count breakpoints, the same as
Restart call counters for the matching functions in
matching modules that are call count traced. The
The call counters for all matching functions that has got call count breakpoints are set to zero and running.
Return the number of matching functions that can have
call count breakpoints, the same as
Start call count tracing for all functions in all modules,
and also for all functions in modules to be
loaded. This is the same as
See also
Start call count tracing for matching functions in matching
modules. The
Set call count breakpoints on the matching functions that has no call count breakpoints. Call counters are set to zero and running for all matching functions.
Return the number of matching functions that has got
call count breakpoints.
Stop call count tracing for all functions in all modules,
and also for all functions in modules to be
loaded. This is the same as
See also
Stop call count tracing for matching functions in matching
modules. The
Remove call count breakpoints from the matching functions that has call count breakpoints.
Return the number of matching functions that can have
call count breakpoints, the same as