summaryrefslogtreecommitdiff
path: root/lisp/profiler.el
diff options
context:
space:
mode:
authorTomohiro Matsuyama <tomo@cx4a.org>2012-08-22 16:08:36 +0900
committerTomohiro Matsuyama <tomo@cx4a.org>2012-08-22 16:08:36 +0900
commita4924b14919a427bf14913608b97d14a8c8e221f (patch)
tree3d241b91c8dbd445aa3ad3c665a1ce024087962f /lisp/profiler.el
parentb02baf7f7ce532bbb6cb51ebff63a208bf9fb882 (diff)
downloademacs-a4924b14919a427bf14913608b97d14a8c8e221f.tar.gz
* profiler.el (profiler-start): Change mode spec.
Diffstat (limited to 'lisp/profiler.el')
-rw-r--r--lisp/profiler.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/profiler.el b/lisp/profiler.el
index 8428b38c586..db2d0eb461a 100644
--- a/lisp/profiler.el
+++ b/lisp/profiler.el
@@ -538,16 +538,16 @@ otherwise collapse the entry."
;;;###autoload
(defun profiler-start (mode)
(interactive
- (list (intern (completing-read "Mode: " '("cpu" "memory" "cpu&memory")
+ (list (intern (completing-read "Mode: " '("cpu" "mem" "cpu+mem")
nil t nil nil "cpu"))))
(cl-ecase mode
(cpu
(sample-profiler-start profiler-sample-interval)
(message "CPU profiler started"))
- (memory
+ (mem
(memory-profiler-start)
(message "Memory profiler started"))
- (cpu&memory
+ (cpu+mem
(sample-profiler-start profiler-sample-interval)
(memory-profiler-start)
(message "CPU and memory profiler started"))))