pike.git/
src/
interpret.h
Branch:
Tag:
Non-build tags
All tags
No tags
2012-01-07
2012-01-07 02:36:30 by 0
5ca7b541e774d0c5ce2850587b3666017e6fb33d (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Fix profiling of recursive functions by tracking recursion level. Fixes [bug
5131 (#5131)
].
626:
Pike_interpreter.accounted_time += self_time; \ /* FIXME: Can context->prog be NULL? */ \ function = _fp_->context->prog->identifiers + _fp_->ident; \
+
if (!--function->recur_depth) \
function->total_time += time_passed; \ function->self_time += self_time; \ }); \