blob: 64398f52ce3649bbc554af55306f3f06fc5ba2e2 [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);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020020void prof_inchar_enter(void);
21void prof_inchar_exit(void);
22int prof_def_func(void);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020023void func_do_profile(ufunc_T *fp);
24void prof_child_enter(proftime_T *tm);
25void prof_child_exit(proftime_T *tm);
26void func_line_start(void *cookie);
27void func_line_exec(void *cookie);
28void func_line_end(void *cookie);
Bram Moolenaar660a10a2019-07-14 15:48:38 +020029void script_do_profile(scriptitem_T *si);
30void script_prof_save(proftime_T *tm);
31void script_prof_restore(proftime_T *tm);
32void profile_dump(void);
33void script_line_start(void);
34void script_line_exec(void);
35void script_line_end(void);
Bram Moolenaarfa55cfc2019-07-13 22:59:32 +020036/* vim: set ft=c : */