Function: profiler-make-calltree--cmacro
profiler-make-calltree--cmacro is a function defined in
profiler.el.gz.
Signature
(profiler-make-calltree--cmacro CL-WHOLE &cl-quote &key ENTRY COUNT COUNT-PERCENT PARENT CHILDREN)
Documentation
compiler-macro for inlining profiler-make-calltree.
Source Code
;; Defined in /usr/src/emacs/lisp/profiler.el.gz
;; Closure converted to defun by helpful.
(defun profiler-make-calltree--cmacro
(cl-whole &rest --cl-rest--)
"compiler-macro for inlining `profiler-make-calltree'.\n\n\\(fn CL-WHOLE &cl-quote &key ENTRY COUNT COUNT-PERCENT PARENT CHILDREN)"
(let*
((entry
(car
(cdr
(plist-member --cl-rest-- ':entry))))
(count
(car
(cdr
(or
(plist-member --cl-rest-- ':count)
'(nil 0)))))
(count-percent
(car
(cdr
(or
(plist-member --cl-rest-- ':count-percent)
'(nil "")))))
(parent
(car
(cdr
(plist-member --cl-rest-- ':parent))))
(children
(car
(cdr
(plist-member --cl-rest-- ':children)))))
(progn
(let
((--cl-keys-- --cl-rest--))
(while --cl-keys--
(cond
((memq
(car --cl-keys--)
'(:entry :count :count-percent :parent :children :allow-other-keys))
(setq --cl-keys--
(cdr
(cdr --cl-keys--))))
((car
(cdr
(memq ':allow-other-keys --cl-rest--)))
(setq --cl-keys-- nil))
(t
(error "Keyword argument %s not one of (:entry :count :count-percent :parent :children)"
(car --cl-keys--))))))
(cl-block profiler-make-calltree--cmacro
(cl--defsubst-expand
'(entry count count-percent parent children)
'(cl-block profiler-make-calltree
(record 'profiler-calltree entry count count-percent parent children))
nil cl-whole nil entry count count-percent parent children)))))