Branch: Tag:

2003-02-08

2003-02-08 17:12:27 by Martin Stjernholm <mast@lysator.liu.se>

Exclude the time spent in the gc from the measurements returned by
gethrvtime.

Rev: src/builtin_functions.c:1.469
Rev: src/gc.c:1.200
Rev: src/gc.h:1.98
Rev: src/threads.c:1.200
Rev: src/threads.h:1.122

2:   || 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: threads.h,v 1.121 2002/10/11 01:39:39 nilsson Exp $ + || $Id: threads.h,v 1.122 2003/02/08 17:12:27 mast Exp $   */      #ifndef THREADS_H
16: Inside #if defined(PIKE_THREADS)
     #ifdef PIKE_THREADS    + #include "pike_rusage.h" +    struct svalue;   struct pike_frame;   
40:    long time_base;   #endif   #endif /* PROFILING */ + #if CPU_TIME_IS_THREAD_LOCAL == YES +  cpu_time_t auto_gc_time; + #endif   };