pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:2861:    \    DO_IF_PROFILING({ \    struct identifier *func; \    new_frame->start_time = \    get_cpu_time() - Pike_interpreter.unlocked_time; \    new_frame->ident = Pike_fp->ident; \    new_frame->children_base = Pike_interpreter.accounted_time; \    func = new_frame->context->prog->identifiers + new_frame->ident; \    func->num_calls++; \    func->recur_depth++; \ -  DO_IF_PROFILING_DEBUG({ \ -  fprintf(stderr, "%p{: Push at %" PRINT_CPU_TIME \ -  " %" PRINT_CPU_TIME "\n", \ -  Pike_interpreter.thread_state, new_frame->start_time, \ -  new_frame->children_base); \ -  }); \ +  W_PROFILING_DEBUG("%p{: Push at %" PRINT_CPU_TIME \ +  " %" PRINT_CPU_TIME "\n", \ +  Pike_interpreter.thread_state, \ +  new_frame->start_time, \ +  new_frame->children_base); \    }); \    \    Pike_fp=new_frame; \    new_frame->flags=PIKE_FRAME_RETURN_INTERNAL | XFLAGS; \    \    if (UNLIKELY(Pike_interpreter.trace_level > 3)) { \    fprintf(stderr, "- Addr = 0x%lx\n", (unsigned long) addr); \    } \    \    FETCH; \