Mercurial > vim
comparison src/eval.c @ 720:e180933b876a v7.0219
updated for version 7.0219
author | vimboss |
---|---|
date | Thu, 09 Mar 2006 22:37:52 +0000 |
parents | 8ae24f338cab |
children | 0a9371c70540 |
comparison
equal
deleted
inserted
replaced
719:82ef0c58b012 | 720:e180933b876a |
---|---|
19324 if (fp->uf_profiling || (fc.caller != NULL && &fc.caller->func->uf_profiling)) | 19324 if (fp->uf_profiling || (fc.caller != NULL && &fc.caller->func->uf_profiling)) |
19325 { | 19325 { |
19326 profile_end(&fp->uf_tm_start); | 19326 profile_end(&fp->uf_tm_start); |
19327 profile_sub_wait(&wait_start, &fp->uf_tm_start); | 19327 profile_sub_wait(&wait_start, &fp->uf_tm_start); |
19328 profile_add(&fp->uf_tm_total, &fp->uf_tm_start); | 19328 profile_add(&fp->uf_tm_total, &fp->uf_tm_start); |
19329 profile_add(&fp->uf_tm_self, &fp->uf_tm_start); | 19329 profile_self(&fp->uf_tm_self, &fp->uf_tm_start, &fp->uf_tm_children); |
19330 profile_sub(&fp->uf_tm_self, &fp->uf_tm_children); | |
19331 if (fc.caller != NULL && &fc.caller->func->uf_profiling) | 19330 if (fc.caller != NULL && &fc.caller->func->uf_profiling) |
19332 { | 19331 { |
19333 profile_add(&fc.caller->func->uf_tm_children, &fp->uf_tm_start); | 19332 profile_add(&fc.caller->func->uf_tm_children, &fp->uf_tm_start); |
19334 profile_add(&fc.caller->func->uf_tml_children, &fp->uf_tm_start); | 19333 profile_add(&fc.caller->func->uf_tml_children, &fp->uf_tm_start); |
19335 } | 19334 } |
19712 if (fp->uf_tml_execed) | 19711 if (fp->uf_tml_execed) |
19713 { | 19712 { |
19714 ++fp->uf_tml_count[fp->uf_tml_idx]; | 19713 ++fp->uf_tml_count[fp->uf_tml_idx]; |
19715 profile_end(&fp->uf_tml_start); | 19714 profile_end(&fp->uf_tml_start); |
19716 profile_sub_wait(&fp->uf_tml_wait, &fp->uf_tml_start); | 19715 profile_sub_wait(&fp->uf_tml_wait, &fp->uf_tml_start); |
19717 profile_add(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_start); | |
19718 profile_add(&fp->uf_tml_total[fp->uf_tml_idx], &fp->uf_tml_start); | 19716 profile_add(&fp->uf_tml_total[fp->uf_tml_idx], &fp->uf_tml_start); |
19719 profile_sub(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_children); | 19717 profile_self(&fp->uf_tml_self[fp->uf_tml_idx], &fp->uf_tml_start, |
19718 &fp->uf_tml_children); | |
19720 } | 19719 } |
19721 fp->uf_tml_idx = -1; | 19720 fp->uf_tml_idx = -1; |
19722 } | 19721 } |
19723 } | 19722 } |
19724 #endif | 19723 #endif |