pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:874: Inside #if defined(PROFILING) and #if defined(PIKE_DEBUG)
  # ifdef PIKE_DEBUG    if (self_time < 0) {    Pike_fatal("Negative self_time: %" PRINT_CPU_TIME    " time_passed: %" PRINT_CPU_TIME    " time_in_children: %" PRINT_CPU_TIME    "n", self_time, time_passed,    time_in_children);    }   # endif /* PIKE_DEBUG */    Pike_interpreter.accounted_time += self_time; -  /* FIXME: Can context->prog be NULL? */ +  +  if (frame->context) {    function = frame->context->prog->identifiers + frame->ident;    if (!--function->recur_depth)    function->total_time += time_passed;    function->self_time += self_time; -  +  }   #endif /* PROFILING */       LOW_POP_PIKE_FRAME (frame);   }      #endif