diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-12 13:45:33 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-08-12 14:15:03 +0800 |
commit | a93d29589ae1aab9f5fff11fccbe3ed14cb089ce (patch) | |
tree | 26815d394348a994820171a9cbc0f27678ff2e89 /src/nvim/runtime.h | |
parent | c7ca94ba7f7a76caf51ed62b521f04c97c6aeed5 (diff) | |
download | rneovim-a93d29589ae1aab9f5fff11fccbe3ed14cb089ce.tar.gz rneovim-a93d29589ae1aab9f5fff11fccbe3ed14cb089ce.tar.bz2 rneovim-a93d29589ae1aab9f5fff11fccbe3ed14cb089ce.zip |
vim-patch:8.1.1689: profiling code is spread out
Problem: Profiling code is spread out.
Solution: Move more profiling code to profiler.c. (Yegappan Lakshmanan,
closes vim/vim#4668)
https://github.com/vim/vim/commit/660a10ad41c14363326f83451c3c425201923119
Diffstat (limited to 'src/nvim/runtime.h')
-rw-r--r-- | src/nvim/runtime.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nvim/runtime.h b/src/nvim/runtime.h index dae3850e3d..d715dcdf30 100644 --- a/src/nvim/runtime.h +++ b/src/nvim/runtime.h @@ -30,13 +30,6 @@ typedef struct scriptitem_S { extern garray_T script_items; #define SCRIPT_ITEM(id) (((scriptitem_T *)script_items.ga_data)[(id) - 1]) -/// Struct used in sn_prl_ga for every line of a script. -typedef struct sn_prl_S { - int snp_count; ///< nr of times line was executed - proftime_T sn_prl_total; ///< time spent in a line + children - proftime_T sn_prl_self; ///< time spent in a line itself -} sn_prl_T; - typedef void (*DoInRuntimepathCB)(char *, void *); typedef struct { |