pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/ + /**/   #include "global.h" - RCSID("$Id: interpret.c,v 1.114 2001/03/09 02:54:32 hubbe Exp $"); + RCSID("$Id: interpret.c,v 1.115 2001/04/06 14:16:40 grubba Exp $");   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "error.h"   #include "language.h"   #include "stralloc.h"   #include "constants.h"
pike.git/src/interpret.c:2132: Inside #if defined(PROFILING), #if defined(HAVE_GETHRTIME) and #if defined(PIKE_DEBUG)
   if(self_time < 0 || children_base <0 || accounted_time <0)    fatal("Time is negative\n self_time=%ld\n time_passed=%ld\n time_in_children=%ld\n children_base=%ld\n accounted_time=%ld!\n time_base=%ld\n start_time=%ld\n",    (long)(self_time/100000),    (long)(time_passed/100000),    (long)(time_in_children/100000),    (long)(children_base/100000),    (long)(accounted_time/100000),    (long)(time_base/100000),    (long)(start_time/100000)    ); - #endif + #endif /* PIKE_DEBUG */    function->total_time=self_time_base + (INT32)(time_passed /1000);    function->self_time+=(INT32)( self_time /1000);    } - #endif - #endif + #endif /* HAVE_GETHRTIME */ + #endif /* PROFILING */      #if 0    if(sp - new_frame.locals > 1)    {    pop_n_elems(sp - new_frame.locals -1);    }else if(sp - new_frame.locals < 1){   #ifdef PIKE_DEBUG    if(sp - new_frame.locals<0) fatal("Frame underflow.\n");   #endif    sp->u.integer = 0;