1/* 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_sub_wait(proftime_T *tm, proftime_T *tma); 14int 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); 18void prof_inchar_enter(void); 19void prof_inchar_exit(void); 20int prof_def_func(void); 21void func_do_profile(ufunc_T *fp); 22void profile_may_start_func(profinfo_T *info, ufunc_T *fp, ufunc_T *caller); 23void profile_may_end_func(profinfo_T *info, ufunc_T *fp, ufunc_T *caller); 24void prof_child_enter(proftime_T *tm); 25void prof_child_exit(proftime_T *tm); 26void func_line_start(void *cookie, long lnum); 27void func_line_exec(void *cookie); 28void func_line_end(void *cookie); 29void script_do_profile(scriptitem_T *si); 30void script_prof_restore(proftime_T *tm); 31void profile_dump(void); 32void script_line_start(void); 33void script_line_exec(void); 34void script_line_end(void); 35/* vim: set ft=c : */ 36