Mercurial > vim
comparison src/proto/ex_cmds2.pro @ 9709:cce76af1cc6a v7.4.2130
commit https://github.com/vim/vim/commit/623e263ffb998acacd6fd0de18c44e03af2a47d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 30 22:47:56 2016 +0200
patch 7.4.2130
Problem: Pending timers cause false memory leak reports.
Solution: Free all timers on exit.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 30 Jul 2016 23:00:05 +0200 |
parents | c2fe86f2bda1 |
children | 34cc6a101340 |
comparison
equal
deleted
inserted
replaced
9708:09d6c236da35 | 9709:cce76af1cc6a |
---|---|
16 char *profile_msg(proftime_T *tm); | 16 char *profile_msg(proftime_T *tm); |
17 float_T profile_float(proftime_T *tm); | 17 float_T profile_float(proftime_T *tm); |
18 void profile_setlimit(long msec, proftime_T *tm); | 18 void profile_setlimit(long msec, proftime_T *tm); |
19 int profile_passed_limit(proftime_T *tm); | 19 int profile_passed_limit(proftime_T *tm); |
20 void profile_zero(proftime_T *tm); | 20 void profile_zero(proftime_T *tm); |
21 timer_T *create_timer(long msec, int repeats); | 21 timer_T *create_timer(long msec, int repeat); |
22 long check_due_timer(void); | 22 long check_due_timer(void); |
23 timer_T *find_timer(int id); | 23 timer_T *find_timer(int id); |
24 void stop_timer(timer_T *timer); | 24 void stop_timer(timer_T *timer); |
25 int set_ref_in_timer(int copyID); | 25 int set_ref_in_timer(int copyID); |
26 void timer_free_all(void); | |
26 void profile_divide(proftime_T *tm, int count, proftime_T *tm2); | 27 void profile_divide(proftime_T *tm, int count, proftime_T *tm2); |
27 void profile_add(proftime_T *tm, proftime_T *tm2); | 28 void profile_add(proftime_T *tm, proftime_T *tm2); |
28 void profile_self(proftime_T *self, proftime_T *total, proftime_T *children); | 29 void profile_self(proftime_T *self, proftime_T *total, proftime_T *children); |
29 void profile_get_wait(proftime_T *tm); | 30 void profile_get_wait(proftime_T *tm); |
30 void profile_sub_wait(proftime_T *tm, proftime_T *tma); | 31 void profile_sub_wait(proftime_T *tm, proftime_T *tma); |