]> git.eshelyaron.com Git - emacs.git/commit
Allow for retrieving profiler logs after stopping
authorVasilij Schneidermann <v.schneidermann@gmail.com>
Thu, 27 Jun 2019 18:18:20 +0000 (20:18 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 27 Jun 2019 19:00:36 +0000 (21:00 +0200)
commit9997429cb7f960a1a08c7dfb4848a0cb60107f57
treeee6271e1be08cbd1532105e69f8d12ae2e0dd5d8
parentb93e5463885f9c99e74b52d2f569ad06ec2d0ff8
Allow for retrieving profiler logs after stopping

* lisp/profiler.el (profiler-cpu-log, profiler-memory-log): New
variables.
(profiler-cpu-profile): Work even if the profiler is no longer
running (bug#22114).
(profiler-memory-profile): Ditto.
(profiler-stop): Save the data.
(profiler-reset): Clear the saved data.
(profiler-report-cpu, profiler-report-memory): Report on the saved
data.
(profiler-report): Save the data here, too.
lisp/profiler.el