Go to the source code of this file.
◆ tai_approx
#define tai_approx |
( |
|
t | ) |
((double) ((t)->x)) |
Definition at line 49 of file tai.h.
◆ tai_less
#define tai_less |
( |
|
t, |
|
|
|
u |
|
) |
| ((t)->x < (u)->x) |
Definition at line 58 of file tai.h.
◆ TAI_PACK
Definition at line 60 of file tai.h.
◆ tai_unix
#define tai_unix |
( |
|
t, |
|
|
|
u |
|
) |
| ((void) ((t)->x = 4611686018427387914ULL + (uint64) (u))) |
Definition at line 35 of file tai.h.
◆ tai64
◆ tai_add()
void tai_add |
( |
struct tai * |
t, |
|
|
const struct tai * |
u, |
|
|
const struct tai * |
v |
|
) |
| |
Definition at line 11 of file tai.c.
◆ tai_now()
void tai_now |
( |
struct tai * |
t | ) |
|
Definition at line 16 of file tai.c.
◆ tai_pack()
void tai_pack |
( |
char * |
s, |
|
|
const struct tai * |
t |
|
) |
| |
Definition at line 21 of file tai.c.
◆ tai_sub()
void tai_sub |
( |
struct tai * |
t, |
|
|
const struct tai * |
u, |
|
|
const struct tai * |
v |
|
) |
| |
Definition at line 36 of file tai.c.
◆ tai_uint()
void tai_uint |
( |
struct tai * |
t, |
|
|
unsigned int |
u |
|
) |
| |
Definition at line 41 of file tai.c.
◆ tai_unpack()
void tai_unpack |
( |
const char * |
s, |
|
|
struct tai * |
t |
|
) |
| |
Definition at line 46 of file tai.c.