profiler-cpu-start

profiler-cpu-start is a built-in function in `C source code'.

(profiler-cpu-start SAMPLING-INTERVAL)

Start or restart the cpu profiler.
It takes call-stack samples each SAMPLING-INTERVAL nanoseconds, approximately.
See also `profiler-log-size' and `profiler-max-stack-depth'.