SB-PROFILE

SB-PROFILE

properties


ID: SB-PROFILE
LOCK: T


public: the interface to the profiler

REPORT   compiled function

properties


ID: SB-PROFILE:REPORT
ALLOC: HEAP IMMOBILE



REPORT names a compiled function:
  Lambda-list: (&KEY LIMIT (PRINT-NO-CALL-LIST T))
  Derived type: (FUNCTION (&KEY (:LIMIT T) (:PRINT-NO-CALL-LIST T))
                 (VALUES &OPTIONAL))
  Documentation:
    Report results from profiling. The results are approximately
    adjusted for profiling overhead. The compensation may be rather
    inaccurate when bignums are involved in runtime calculation, as in a
    very-long-running Lisp process.
    
    If LIMIT is set to an integer, only the top LIMIT results are
    reported. If PRINT-NO-CALL-LIST is T (the default) then a list of
    uncalled profiled functions are listed.
  Source file: SYS:SRC;CODE;PROFILE.LISP

  • Called by
    • (PROFILE-REPORT IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
  • SYS:SRC;CODE;PROFILE.LISP

UNPROFILE   compiled macro function

properties


ID: SB-PROFILE:UNPROFILE
ALLOC: HEAP IMMOBILE



UNPROFILE names a macro:
  Lambda-list: (&REST NAMES)
  Documentation:
    Unwrap any profiling code around the named functions, or if no names
    are given, unprofile all profiled functions. A symbol names
    a function. A string names all the functions named by symbols in the
    named package. NAMES defaults to the list of names of all currently
    profiled functions.
  Source file: SYS:SRC;CODE;PROFILE.LISP

  • Macroexpanded by
    • (UNPROFILE-ALL IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
  • SYS:SRC;CODE;PROFILE.LISP

RESET   compiled function

properties


ID: SB-PROFILE:RESET
ALLOC: HEAP IMMOBILE



RESET names a compiled function:
  Lambda-list: ()
  Derived type: (FUNCTION NIL (VALUES NULL &OPTIONAL))
  Documentation:
    Reset the counters for all profiled functions.
  Source file: SYS:SRC;CODE;PROFILE.LISP

  • Called by
    • (PROFILE-RESET IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
  • SYS:SRC;CODE;PROFILE.LISP

PROFILE   compiled macro function

properties


ID: SB-PROFILE:PROFILE
ALLOC: HEAP IMMOBILE



PROFILE names a macro:
  Lambda-list: (&REST NAMES)
  Documentation:
    If no names are supplied, return the list of profiled functions.
    
    If names are supplied, wrap profiling code around the named functions.
    As in TRACE, the names are not evaluated. A symbol names a function.
    A string names all the functions named by symbols in the named
    package. If a function is already profiled, then unprofile and
    reprofile (useful to notice function redefinition.)  If a name is
    undefined, then we give a warning and ignore it. See also
    UNPROFILE, REPORT and RESET.
  Source file: SYS:SRC;CODE;PROFILE.LISP

  • Macroexpanded by
    • (PROFILED-FUNCTIONS IN /home/ellis/src/core/lib/swank/sbcl.lisp)
definitions
  • SYS:SRC;CODE;PROFILE.LISP