Add ":profile stop"

This writes the logfile and stops profiling.
This commit is contained in:
Marco Hinz
2015-04-14 20:28:08 +02:00
parent 588bf76650
commit 1902ee52ef
4 changed files with 115 additions and 57 deletions

View File

@@ -586,6 +586,9 @@ For example, to profile the one_script.vim script file: >
If {fname} already exists it will be silently overwritten.
The variable |v:profiling| is set to one.
:prof[ile] stop
Write the logfile and stop profiling.
:prof[ile] pause
Don't profile until the following ":profile continue". Can be
used when doing something that should not be counted (e.g., an