pike.git / src / main.c

version» Context lines:

pike.git/src/main.c: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.   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.151 2002/09/07 21:14:37 grubba Exp $"); + RCSID("$Id: main.c,v 1.152 2002/09/14 02:46:27 mast Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:27:   #include "multiset.h"   #include "mapping.h"   #include "cpp.h"   #include "main.h"   #include "operators.h"   #include "rbtree.h"   #include "security.h"   #include "constants.h"   #include "version.h"   #include "program.h" + #include "rusage.h"      #ifdef AUTO_BIGNUM   #include "bignum.h"   #endif      #if defined(__linux__) && defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H)   #include <dlfcn.h>   #endif      #include "las.h"
pike.git/src/main.c:754: Inside #if defined(PROFILING)
   if(samples[q])    fprintf(stderr,"STACK WAS %4d Kb %12u times\n",q-1,samples[q]);    }   #endif      #ifdef PIKE_DEBUG    /* For profiling */    exit_lex();   #endif    + #ifdef INTERNAL_PROFILING +  fprintf (stderr, "Evaluator callback calls: %lu\n", evaluator_callback_calls); + #ifdef PIKE_THREADS +  fprintf (stderr, "Thread yields: %lu\n", thread_yields); + #endif +  fprintf (stderr, "Main thread summary:\n"); +  debug_print_rusage (stderr); + #endif +     exit(num);   }         void low_init_main(void)   {    void init_iterators(void);       init_cpp();    init_backend();