blob: e7bcb479a1463d42d2850df6170221fb2a8d391c [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);
13void profile_get_wait(proftime_T *tm);
14void profile_sub_wait(proftime_T *tm, proftime_T *tma);
15int profile_equal(proftime_T *tm1, proftime_T *tm2);
16int profile_cmp(const proftime_T *tm1, const proftime_T *tm2);
17void ex_profile(exarg_T *eap);
18char_u *get_profile_name(expand_T *xp, int idx);
19void set_context_in_profile_cmd(expand_T *xp, char_u *arg);
20void profile_dump(void);
21void prof_inchar_enter(void);
22void prof_inchar_exit(void);
23int prof_def_func(void);
24void prof_sort_list(FILE *fd, ufunc_T **sorttab, int st_len, char *title, int prefer_self);
25void prof_func_line(FILE *fd, int count, proftime_T *total, proftime_T *self, int prefer_self);
26int prof_total_cmp(const void *s1, const void *s2);
27int prof_self_cmp(const void *s1, const void *s2);
28void func_do_profile(ufunc_T *fp);
29void prof_child_enter(proftime_T *tm);
30void prof_child_exit(proftime_T *tm);
31void func_line_start(void *cookie);
32void func_line_exec(void *cookie);
33void func_line_end(void *cookie);
34/* vim: set ft=c : */