Commit graph

26 commits

Author SHA1 Message Date
Richard M. Stallman
f2f22d26ed Comment change. 2001-12-27 03:23:50 +00:00
Pavel Janík
f0529b5b1a Doc fix. 2001-12-20 19:01:00 +00:00
Stefan Monnier
5848fe5ca0 (elp-not-profilable): New var.
(elp-not-profilable-p): New function.
(elp-instrument-function): Use it.  Use backquotes and push.
2001-11-17 00:58:21 +00:00
Pavel Janík
60370d4073 Some fixes to follow coding conventions. 2001-07-15 19:53:53 +00:00
Gerd Moellmann
cebf1b97f3 (elp-instrument-function): Handle advised
functions.
2001-05-17 13:58:14 +00:00
Eli Zaretskii
940cf42ecb (elp-instrument-package): Don't allow empty prefixes. 2001-05-14 17:52:12 +00:00
Dave Love
02af1bf14a (elp-restore-function): Remove autoload
cookie.
2000-11-01 19:14:57 +00:00
Dave Love
4edc4a39e6 (elp-unload-hook): New function. 2000-10-31 12:05:34 +00:00
Dave Love
c2641e5f2d (elp-version): Deleted. 2000-05-26 13:02:13 +00:00
Dave Love
80265cddc5 Change maintainer to FSF. 2000-05-26 09:15:41 +00:00
Dave Love
36172f4965 (elp-restore-function): Don't use obsolete byte-code-function-p. 2000-05-25 18:24:44 +00:00
Richard M. Stallman
a55340a857 Change comment and version numbers. 1998-03-14 05:46:01 +00:00
Richard M. Stallman
b8b29706b1 Update version. 1997-05-31 05:39:02 +00:00
Richard M. Stallman
d83cce6dda (elp-report-limit): Change prompt string.
(elp-version): Incremented.
1997-04-21 23:48:34 +00:00
Richard M. Stallman
3627d6b20a Update copyright years. 1997-04-12 19:31:18 +00:00
Richard M. Stallman
9e5b444e89 Add defgroup; use defcustom for user vars. 1997-04-12 19:31:00 +00:00
Richard M. Stallman
b5ca6f92e7 (elp-functionp): Definitions deleted; use functionp. 1997-04-12 19:15:11 +00:00
Richard M. Stallman
9b267ebada (elp-functionp): New function.
(elp-instrument-package): Don't attempt to instrument autoload functions.

(elp-elapsed-time): New function to calculate the different between
two `current-time' lists.  This no longer throws away the top 16 bits
of information.

(elp-wrapper): Use elp-elapsed-time instead of elp-get-time.  Also,
call `current-time' as close to the function entrance and exit as
possible so more of the overhead is eliminated from the times.

(elp-get-time): Obsolete, deleted.

(elp-restore-function):
When restoring, do not check assq elp-wrapper
if the symbol-function is a compiled lisp function (i.e. byte coded).
If it is byte-coded, it could not have been instrumented.
Don't do the symbol-function restoration if
the symbol has no function definition.

(elp-instrument-function): Always `restore' the funsym before instrumenting.
Fail if function is an autoload symbol.

(elp-instrument-list): Remove unnecessary condition-case.

(elp-results):
Noninteractive as a function is non-portable, use the
variable instead.  buffer-substring with 3 arguments is non-portable.

(elp-instrument-function, elp-instrument-list):
Handle function symbols that have already been instrumented.  Do
not instrument them twice.

(elp-recycle-buffers-p): New variable.

(elp-report-limit, elp-sort-by-function): New default values.

(elp-use-standard-output): New variable.

(elp-results): Optionally dump results to standard-output.
1997-04-12 19:14:18 +00:00
Richard M. Stallman
6ccab458cc (elp-instrument-package): Don't instrument keymaps and autoloaded functions. 1996-03-22 14:18:20 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Richard M. Stallman
b96bffd7a0 Comment changes. 1994-12-29 00:11:46 +00:00
Richard M. Stallman
5b689f602f Comment changes. 1994-12-26 15:49:29 +00:00
Richard M. Stallman
5fe4899af7 (elp-pack-number): New function.
(elp-output-results): Use elp-pack-number to truncate time strings,
watching out for very small or very large numbers.

(elp-unset-master): Make it an interactive command.
1994-12-24 04:27:01 +00:00
Richard M. Stallman
62f91105e4 Add autoloads. 1994-09-14 20:24:21 +00:00
Richard M. Stallman
c0fd04c89d Update to 2.15. 1994-09-14 20:21:36 +00:00
Richard M. Stallman
20f5d14570 Initial revision 1994-09-14 09:03:27 +00:00