pike.git / src / program.h

version» Context lines:

pike.git/src/program.h:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.h,v 1.202 2004/04/18 02:16:06 mast Exp $ + || $Id: program.h,v 1.203 2004/05/20 20:13:38 grubba Exp $   */      #ifndef PROGRAM_H   #define PROGRAM_H      #include <stdarg.h>   #include "global.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "svalue.h"   #include "time_stuff.h"   #include "program_id.h" -  + #include "pike_rusage.h"   #include "block_alloc_h.h"      /* Needed to support dynamic loading on NT */   PMOD_PROTO extern struct program_state * Pike_compiler;      /* Compilation flags */   #define COMPILATION_CHECK_FINAL 0x01    /* This flag is set when resolve functions should force the lookup so    * that we don't get a placeholder back. Used for inherits. */   #define COMPILATION_FORCE_RESOLVE 0x02
pike.git/src/program.h:224:    * gets exactly one of these.    */   struct identifier   {    struct pike_string *name;    struct pike_type *type;    unsigned INT8 identifier_flags; /* IDENTIFIER_??? */    unsigned INT8 run_time_type; /* PIKE_T_??? */    unsigned INT16 opt_flags; /* OPT_??? */   #ifdef PROFILING -  unsigned INT32 num_calls; -  unsigned INT32 total_time; -  unsigned INT32 self_time; +  unsigned INT32 num_calls; /* Total number of calls. */ +  cpu_time_t total_time; /* Total time with children. */ +  cpu_time_t self_time; /* Total time excluding children. */   #endif /* PROFILING */    union idptr func;   };      /*    * This is used to store constants, both    * inline constants and those defined explicitly with    * the constant keyword.    */   struct program_constant