Function: profiler-report-line-format
profiler-report-line-format is a byte-compiled function defined in
profiler.el.gz.
Signature
(profiler-report-line-format TREE)
Source Code
;; Defined in /usr/src/emacs/lisp/profiler.el.gz
(defun profiler-report-line-format (tree)
(let ((diff-p (profiler-profile-diff-p profiler-report-profile))
(name-part (profiler-report-make-name-part tree))
(count (profiler-calltree-count tree))
(count-percent (profiler-calltree-count-percent tree)))
(profiler-format (cl-ecase (profiler-profile-type profiler-report-profile)
(cpu profiler-report-cpu-line-format)
(memory profiler-report-memory-line-format))
(if diff-p
(list (if (> count 0)
(format "+%s" count)
count)
"")
(list count count-percent))
" "
name-part)))