pike.git / src / builtin_functions.c

version» Context lines:

pike.git/src/builtin_functions.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. - || $Id: builtin_functions.c,v 1.688 2008/10/12 21:51:12 mast Exp $ + || $Id: builtin_functions.c,v 1.689 2009/04/01 20:47:59 mast Exp $   */      #include "global.h"   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"   #include "object.h"   #include "program.h"   #include "array.h"   #include "pike_error.h"
pike.git/src/builtin_functions.c:7519:   /*! @decl int gethrtime (void|int nsec)    *!    *! Return the high resolution real time since some arbitrary event in    *! the past. The time is normally returned in microseconds, but if    *! the optional argument @[nsec] is nonzero it's returned in    *! nanoseconds.    *!    *! It's system dependent whether or not this time is monotonic, i.e.    *! if it's unaffected by adjustments of the calendaric clock in the    *! system. @[System.REAL_TIME_IS_MONOTONIC] tells what it is. Pike -  *! tries to use monotonic time for this function if it's avaiable. +  *! tries to use monotonic time for this function if it's available.    *!    *! @note    *! The actual accuracy on many systems is significantly less than    *! microseconds or nanoseconds. See @[System.REAL_TIME_RESOLUTION].    *!    *! @seealso    *! @[System.REAL_TIME_IS_MONOTONIC], @[System.REAL_TIME_RESOLUTION],    *! @[time()], @[System.gettimeofday()], @[gethrvtime()]    */   PMOD_EXPORT void f_gethrtime(INT32 args)