pike.git / src / pike_rusage.h

version» Context lines:

pike.git/src/pike_rusage.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: pike_rusage.h,v 1.25 2009/04/21 11:41:57 mast Exp $ + || $Id: pike_rusage.h,v 1.26 2009/04/21 12:03:34 mast Exp $   */      #ifndef PIKE_RUSAGE_H   #define PIKE_RUSAGE_H      #include "global.h"      #ifdef HAVE_TIME_H   #include <time.h>   #endif
pike.git/src/pike_rusage.h:122: Inside #if defined(HAVE_POSIX_MONOTONIC_GRT)
   * by wall clock adjustments. */   #ifdef HAVE_POSIX_MONOTONIC_GRT   # define real_time_is_monotonic 1   # define posix_monotonic_grt_impl get_real_time_impl   # define posix_monotonic_grt get_real_time   # define posix_monotonic_grt_res get_real_time_res   # define GRT_IS_POSIX_MONOTONIC   #elif defined (MIGHT_HAVE_POSIX_MONOTONIC_GRT)   # define GRT_RUNTIME_CHOICE   #elif defined (HAVE_HOST_GET_CLOCK_SERVICE) - /* Define GRT_RUNTIME_CHOICE to allow MIGHT_HAVE_POSIX_MONOTONIC_GRT -  * to take precedence at runtime, if it would become possible. */ + /* Define this to avoid special cases in init_rusage. */   # define GRT_RUNTIME_CHOICE   #elif defined (HAVE_POSIX_REALTIME_GRT)   # define real_time_is_monotonic 0   # define posix_realtime_grt_impl get_real_time_impl   # define posix_realtime_grt get_real_time   # define posix_realtime_grt_res get_real_time_res   # define GRT_IS_POSIX_REALTIME   #else   # define fallback_grt_is_monotonic real_time_is_monotonic   # define fallback_grt_impl get_real_time_impl