comparison src/proto/ex_cmds2.pro @ 17381:8f44c630c366 v8.1.1689

patch 8.1.1689: profiling code is spread out commit https://github.com/vim/vim/commit/660a10ad41c14363326f83451c3c425201923119 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 14 15:48:38 2019 +0200 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 #4668)
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Jul 2019 16:00:06 +0200
parents ba06a1c42274
children 4a3dca734d36
comparison
equal deleted inserted replaced
17380:9edf684600d7 17381:8f44c630c366
7 void stop_all_timers(void); 7 void stop_all_timers(void);
8 void add_timer_info(typval_T *rettv, timer_T *timer); 8 void add_timer_info(typval_T *rettv, timer_T *timer);
9 void add_timer_info_all(typval_T *rettv); 9 void add_timer_info_all(typval_T *rettv);
10 int set_ref_in_timer(int copyID); 10 int set_ref_in_timer(int copyID);
11 void timer_free_all(void); 11 void timer_free_all(void);
12 void script_do_profile(scriptitem_T *si);
13 void script_prof_save(proftime_T *tm);
14 void script_prof_restore(proftime_T *tm);
15 void script_dump_profile(FILE *fd);
16 int autowrite(buf_T *buf, int forceit); 12 int autowrite(buf_T *buf, int forceit);
17 void autowrite_all(void); 13 void autowrite_all(void);
18 int check_changed(buf_T *buf, int flags); 14 int check_changed(buf_T *buf, int flags);
19 void browse_save_fname(buf_T *buf); 15 void browse_save_fname(buf_T *buf);
20 void dialog_changed(buf_T *buf, int checkall); 16 void dialog_changed(buf_T *buf, int checkall);
61 void scriptnames_slash_adjust(void); 57 void scriptnames_slash_adjust(void);
62 char_u *get_scriptname(scid_T id); 58 char_u *get_scriptname(scid_T id);
63 void free_scriptnames(void); 59 void free_scriptnames(void);
64 linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, int), void *cookie); 60 linenr_T get_sourced_lnum(char_u *(*fgetline)(int, void *, int, int), void *cookie);
65 char_u *getsourceline(int c, void *cookie, int indent, int do_concat); 61 char_u *getsourceline(int c, void *cookie, int indent, int do_concat);
66 void script_line_start(void);
67 void script_line_exec(void);
68 void script_line_end(void);
69 void ex_scriptencoding(exarg_T *eap); 62 void ex_scriptencoding(exarg_T *eap);
70 void ex_scriptversion(exarg_T *eap); 63 void ex_scriptversion(exarg_T *eap);
71 void ex_finish(exarg_T *eap); 64 void ex_finish(exarg_T *eap);
72 void do_finish(exarg_T *eap, int reanimate); 65 void do_finish(exarg_T *eap, int reanimate);
73 int source_finished(char_u *(*fgetline)(int, void *, int, int), void *cookie); 66 int source_finished(char_u *(*fgetline)(int, void *, int, int), void *cookie);