pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:2051: Inside #if defined(PROFILING)
   new_frame->start_time = get_cpu_time() - Pike_interpreter.unlocked_time;       /* This is mostly for profiling, but    * could also be used to find out the name of a function    * in a destructed object. -hubbe    *    * Since it not used for anything but profiling yet, I will    * put it here until someone needs it. -Hubbe    */    new_frame->ident = ref->identifier_offset; -  DO_IF_PROFILING_DEBUG({ -  fprintf(stderr, "%p{: Push at %" PRINT_CPU_TIME +  W_PROFILING_DEBUG("%p{: Push at %" PRINT_CPU_TIME    " %" PRINT_CPU_TIME "\n", -  Pike_interpreter.thread_state, new_frame->start_time, +  Pike_interpreter.thread_state, +  new_frame->start_time,    new_frame->children_base); -  }); +    #endif    new_frame->next = Pike_fp;    add_ref(new_frame->current_object = o);    add_ref(new_frame->current_program = p);    new_frame->context = context;    new_frame->fun = (unsigned INT16)fun;    new_frame->expendible = new_frame->locals = save_sp;    new_frame->args = args;    new_frame->save_sp = save_sp;