2012-01-07
2012-01-07 02:36:30 by 0
-
5ca7b541e774d0c5ce2850587b3666017e6fb33d
(2 lines)
(+2/-0)
[
Show
| Annotate
]
Branch: 7.9
Fix profiling of recursive functions by tracking recursion level. Fixes [bug 5131 (#5131)].
4442: Inside #if defined(PROFILING)
#ifdef PROFILING
id.self_time=0;
id.num_calls=0;
+ id.recur_depth=0;
id.total_time=0;
#endif