pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:551:    struct pike_frame *_fp_ = Pike_fp; \    DO_IF_PROFILING({ \    /* Time spent in this frame + children. */ \    cpu_time_t time_passed = \    get_cpu_time() - Pike_interpreter.unlocked_time; \    /* Time spent in children to this frame. */ \    cpu_time_t time_in_children; \    /* Time spent in just this frame. */ \    cpu_time_t self_time; \    struct identifier *function; \ -  DO_IF_PROFILING_DEBUG({ \ -  fprintf(stderr, "%p}: Pop got %" PRINT_CPU_TIME \ -  " (%" PRINT_CPU_TIME ")" \ +  W_PROFILING_DEBUG("%p}: Pop got %" PRINT_CPU_TIME \ +  " (%" PRINT_CPU_TIME ")" \    " %" PRINT_CPU_TIME " (%" PRINT_CPU_TIME ")\n", \ -  Pike_interpreter.thread_state, time_passed, \ -  _fp_->start_time, Pike_interpreter.accounted_time, \ -  _fp_->children_base); \ -  }); \ +  Pike_interpreter.thread_state, time_passed, \ +  _fp_->start_time, \ +  Pike_interpreter.accounted_time, \ +  _fp_->children_base); \    time_passed -= _fp_->start_time; \    DO_IF_DEBUG(if (time_passed < 0) { \    Pike_fatal("Negative time_passed: %" PRINT_CPU_TIME \    " now: %" PRINT_CPU_TIME \    " unlocked_time: %" PRINT_CPU_TIME \    " start_time: %" PRINT_CPU_TIME \    "\n", time_passed, get_cpu_time(), \    Pike_interpreter.unlocked_time, \    _fp_->start_time); \    }); \