view modules/gethrxtime @ 15333:f03da5e72c61

timespec-add, timespec-sub: new modules * lib/timespec.h (timespec_add, timespec_sub): New decls. * lib/timespec-add.c, lib/timespec-sub.c: * modules/timespec-add, modules/timespec-sub: New files.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 30 Jun 2011 15:17:31 -0700
parents 0c2fbeeeb9c9
children fe213f3f2c57
line wrap: on
line source

Description:
Get high resolution real time.

Files:
lib/xtime.h
lib/gethrxtime.c
lib/gethrxtime.h
m4/gethrxtime.m4
m4/longlong.m4

Depends-on:
clock-time
extensions
gettime
sys_time

configure.ac:
gl_GETHRXTIME
if test $ac_cv_have_decl_gethrtime = no || test $gl_cv_arithmetic_hrtime_t = no; then
  AC_LIBOBJ([gethrxtime])
  gl_PREREQ_GETHRXTIME
fi

Makefile.am:

Include:
"xtime.h"

Link:
$(LIB_GETHRXTIME)

License:
GPL

Maintainer:
Paul Eggert