summaryrefslogtreecommitdiff
path: root/modules/timespec_get
blob: b0c5e008f99cff8102ddfb802a871919f1169e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description:
timespec_get() function: return the current time with up to nanosecond resolution

Files:
lib/timespec_get.c
m4/timespec_get.m4

Depends-on:
time-h
extensions
gettime         [test $HAVE_TIMESPEC_GET = 0 || test $REPLACE_TIMESPEC_GET = 1]

configure.ac:
gl_FUNC_TIMESPEC_GET
gl_CONDITIONAL([GL_COND_OBJ_TIMESPEC_GET],
               [test $HAVE_TIMESPEC_GET = 0 || test $REPLACE_TIMESPEC_GET = 1])
gl_TIME_MODULE_INDICATOR([timespec_get])

Makefile.am:
if GL_COND_OBJ_TIMESPEC_GET
lib_SOURCES += timespec_get.c
endif

Include:
<time.h>

Link:
$(CLOCK_TIME_LIB)

License:
LGPL

Maintainer:
all