From a93d29589ae1aab9f5fff11fccbe3ed14cb089ce Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 12 Aug 2022 13:45:33 +0800 Subject: 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 --- src/nvim/runtime.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/nvim/runtime.h') 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 { -- cgit