blob: 5e0b6a2144fc953336b7c5a6a1b1d6a03a2dcca9 [file] [log] [blame]
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +02001/* profiler.c */
2void profile_start(proftime_T *tm);
3void profile_end(proftime_T *tm);
4void profile_sub(proftime_T *tm, proftime_T *tm2);
5char *profile_msg(proftime_T *tm);
6float_T profile_float(proftime_T *tm);
7void profile_setlimit(long msec, proftime_T *tm);
8int profile_passed_limit(proftime_T *tm);
9void profile_zero(proftime_T *tm);
10void profile_divide(proftime_T *tm, int count, proftime_T *tm2);
11void profile_add(proftime_T *tm, proftime_T *tm2);
12void profile_self(proftime_T *self, proftime_T *total, proftime_T *children);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020013void profile_sub_wait(proftime_T *tm, proftime_T *tma);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020014int profile_cmp(const proftime_T *tm1, const proftime_T *tm2);
15void ex_profile(exarg_T *eap);
16char_u *get_profile_name(expand_T *xp, int idx);
17void set_context_in_profile_cmd(expand_T *xp, char_u *arg);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020018void prof_inchar_enter(void);
19void prof_inchar_exit(void);
20int prof_def_func(void);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020021void func_do_profile(ufunc_T *fp);
22void prof_child_enter(proftime_T *tm);
23void prof_child_exit(proftime_T *tm);
24void func_line_start(void *cookie);
25void func_line_exec(void *cookie);
26void func_line_end(void *cookie);
Bram Moolenaar660a10a2019-07-14 15:48:38 +020027void script_do_profile(scriptitem_T *si);
28void script_prof_save(proftime_T *tm);
29void script_prof_restore(proftime_T *tm);
30void profile_dump(void);
31void script_line_start(void);
32void script_line_exec(void);
33void script_line_end(void);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020034/* vim: set ft=c : */