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 profiler-make-calltree.
Source Code
;; Defined in /usr/src/emacs/lisp/profiler.el.gz
;; Could not find source code, showing raw function object.
#[(cl-whole &rest --cl-rest--)
((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))
(unless (cdr --cl-keys--)
(error "Missing argument for %s" (car --cl-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)))))
(t) nil
"compiler-macro for `profiler-make-calltree'.\n\n(fn CL-WHOLE &cl-quote &key ENTRY COUNT COUNT-PERCENT PARENT CHILDREN)"]