Branch: Tag:

2012-01-07

2012-01-07 02:17:33 by Jonas Walldén <jonasw@roxen.com>

Remove unused self_time_base from PROFILING code.

96: Inside #if defined(PROFILING)
  #if defined(PROFILING)    cpu_time_t children_base; /** Accounted time when the frame started. */    cpu_time_t start_time; /** Adjusted time when thr frame started. */ -  cpu_time_t self_time_base; /* ??? */ +    #endif   };   
626:    }); \    Pike_interpreter.accounted_time += self_time; \    /* FIXME: Can context->prog be NULL? */ \ -  function = _fp_->context->prog->identifiers + _fp_->ident; \ -  /* function->total_time = \ -  Pike_fp->self_time_base + time_passed; */ \ +  function = _fp_->context->prog->identifiers + _fp_->ident; \    function->total_time += time_passed; \    function->self_time += self_time; \    }); \