diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-09 22:37:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-09 22:37:52 +0000 |
commit | 1056d988442648527a45366c9d16523cdc521031 (patch) | |
tree | afd2b3182b3c81edf3f95a34c10b3a3ea2e5c833 /src/eval.c | |
parent | 4ea8fe1d0600a7020c9f3a652f1d429a96965311 (diff) |
updated for version 7.0219v7.0219
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/eval.c b/src/eval.c index e5131f32cc..423129b248 100644 --- a/src/eval.c +++ b/src/eval.c @@ -19326,8 +19326,7 @@ call_user_func(fp, argcount, argvars, rettv, firstline, lastline, selfdict) profile_end(&fp->uf_tm_start); profile_sub_wait(&wait_start, &fp->uf_tm_start); profile_add(&fp->uf_tm_total, &fp->uf_tm_start); - profile_add(&fp->uf_tm_self, &fp->uf_tm_start); - profile_sub(&fp->uf_tm_self, &fp->uf_tm_children); + profile_self(&fp->uf_tm_self, &fp->uf_tm_start, &fp->uf_tm_children); if (fc.caller != NULL && &fc.caller->func->uf_profiling) { profile_add(&fc.caller->func->uf_tm_children, &fp->uf_tm_start); @@ -19714,9 +19713,9 @@ func_line_end(cookie) ++fp->uf_tml_count[fp->uf_tml_idx]; profile_end(&fp->uf_tml_start); profile_sub_wait(&fp->uf_tml_wait, &fp->uf_tml_start); - profile_add(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_start); profile_add(&fp->uf_tml_total[fp->uf_tml_idx], &fp->uf_tml_start); - profile_sub(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_children); + profile_self(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_start, + &fp->uf_tml_children); } fp->uf_tml_idx = -1; } |