pike.git / src / interpret.h

version» Context lines:

pike.git/src/interpret.h:90:    struct svalue **mark_sp_base;    struct object *current_object;    struct program *current_program; /* program containing the context. */    struct inherit *context;    char *current_storage;       DO_IF_SECURITY(struct object *current_creds;)   #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   };      #define PIKE_FRAME_RETURN_INTERNAL 1   #define PIKE_FRAME_RETURN_POP 2   #define PIKE_FRAME_MALLOCED_LOCALS 0x8000      struct external_variable_context   {    struct object *o;
pike.git/src/interpret.h:602:    self_time = time_passed - time_in_children; \    DO_IF_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); \    }); \    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; \    }); \    LOW_POP_PIKE_FRAME (_fp_); \    }while(0)         enum apply_type   {    APPLY_STACK, /* The function is the first argument */