Branch: Tag:

2007-06-10

2007-06-10 18:11:13 by Martin Stjernholm <mast@lysator.liu.se>

Added support for POSIX style timers using clock_gettime(3). Notably this
fixes nice high resolution thread local cpu time and monotonic real time on
reasonably modern Linux systems.

Also added a few more pike constants about various characteristics of the
cpu/real time interfaces in use.

Rev: src/acconfig.h:1.155
Rev: src/builtin_functions.c:1.640
Rev: src/configure.in:1.1019
Rev: src/gc.c:1.290
Rev: src/gc.h:1.129
Rev: src/modules/system/system.c:1.182
Rev: src/pike_rusage.h:1.18
Rev: src/rusage.c:1.46
Rev: src/threads.c:1.254
Rev: src/threads.h:1.132

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: acconfig.h,v 1.154 2007/04/02 16:19:39 grubba Exp $ + || $Id: acconfig.h,v 1.155 2007/06/10 18:11:12 mast Exp $   */      #ifndef MACHINE_H
572:   /* Define to the page size (handled efficiently by malloc). */   #undef PIKE_MALLOC_PAGE_SIZE    - /* PIKE_YES if the number reported by get_cpu_time (rusage.c) is -  * thread local, PIKE_NO if it isn't, PIKE_UNKNOWN if it couldn't be -  * established. */ - #undef CPU_TIME_IS_THREAD_LOCAL + /* PIKE_YES if the number reported by fallback_get_cpu_time (rusage.c) +  * is thread local, PIKE_NO if it isn't, PIKE_UNKNOWN if it couldn't +  * be established. */ + #undef FB_CPU_TIME_IS_THREAD_LOCAL      @BOTTOM@