Function: profiler-memory-start
profiler-memory-start is a function defined in profiler.c.
Signature
(profiler-memory-start)
Documentation
Start/restart the memory profiler.
The memory profiler will take samples of the call-stack whenever a new
allocation takes place. Note that most small allocations only trigger
the profiler occasionally.
See also profiler-log-size and profiler-max-stack-depth.
Source Code
// Defined in /usr/src/emacs/src/profiler.c
{
if (profiler_memory_running)
error ("Memory profiler is already running");
if (memory.log == NULL)
memory = make_profiler_log ();
profiler_memory_running = true;
return Qt;
}