Branch: Tag:

2012-01-07

2012-01-07 02:36:30 by 0

Fix profiling of recursive functions by tracking recursion level. Fixes [bug 5131].

4937: Inside #if defined(PROFILING)
  #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0; +  dummy.recur_depth=0;    dummy.total_time=0;   #endif   
5067: Inside #if defined(PROFILING)
  #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0; +  dummy.recur_depth=0;    dummy.total_time=0;   #endif   
5520: Inside #if defined(PROFILING)
  #ifdef PROFILING    dummy.self_time=0;    dummy.num_calls=0; +  dummy.recur_depth=0;    dummy.total_time=0;   #endif   
5739: Inside #if defined(PROFILING)
  #ifdef PROFILING    fun.self_time=0;    fun.num_calls=0; +  fun.recur_depth=0;    fun.total_time=0;   #endif