Variable: elp-sort-by-function

elp-sort-by-function is a customizable variable defined in elp.el.gz.

Value

elp-sort-by-total-time

Documentation

Non-nil specifies ELP results sorting function.

These functions are currently available:

  elp-sort-by-call-count -- sort by the highest call count
  elp-sort-by-total-time -- sort by the highest total time
  elp-sort-by-average-time -- sort by the highest average times

You can write your own sort function. It should adhere to the interface specified by the PREDICATE argument for sort. Each "element of LIST" is really a 4 element vector where element 0 is the call count, element 1 is the total time spent in the function, element 2 is the average time spent in the function, and element 3 is the symbol's name string.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/elp.el.gz
(defcustom elp-sort-by-function 'elp-sort-by-total-time
  "Non-nil specifies ELP results sorting function.
These functions are currently available:

  `elp-sort-by-call-count'   -- sort by the highest call count
  `elp-sort-by-total-time'   -- sort by the highest total time
  `elp-sort-by-average-time' -- sort by the highest average times

You can write your own sort function.  It should adhere to the
interface specified by the PREDICATE argument for `sort'.
Each \"element of LIST\" is really a 4 element vector where element 0 is
the call count, element 1 is the total time spent in the function,
element 2 is the average time spent in the function, and element 3 is
the symbol's name string."
  :type 'function
  :group 'elp)