vim-patch:8.1.1684: profiling functionality is spread out

Problem:    Profiling functionality is spread out.
Solution:   Put profiling functionality in profiling.c. (Yegappan Lakshmanan,
            closes vim/vim#4666)
fa55cfc69d

Move proftime_T to types.h for now to avoid recursive #include.
This commit is contained in:
zeertzjq
2022-08-12 12:58:52 +08:00
parent 0d9e09bf67
commit c7ca94ba7f
27 changed files with 449 additions and 422 deletions

View File

@@ -4,7 +4,7 @@
#include <stdint.h>
#include <time.h>
typedef uint64_t proftime_T;
#include "nvim/ex_cmds_defs.h"
#define TIME_MSG(s) do { \
if (time_fd != NULL) time_msg(s, NULL); \