#include "tool_setup.h"
Go to the source code of this file.
Defines | |
#define | tvdiff(a, b) tool_tvdiff((a), (b)) |
#define | tvdiff_secs(a, b) tool_tvdiff_secs((a), (b)) |
#define | tvlong(a) tool_tvlong((a)) |
#define | tvnow() tool_tvnow() |
Functions | |
long | tool_tvdiff (struct timeval t1, struct timeval t2) |
double | tool_tvdiff_secs (struct timeval t1, struct timeval t2) |
long | tool_tvlong (struct timeval t1) |
struct timeval | tool_tvnow (void) |
#define tvdiff | ( | a, | |
b | |||
) | tool_tvdiff((a), (b)) |
Definition at line 51 of file tool_util.h.
#define tvdiff_secs | ( | a, | |
b | |||
) | tool_tvdiff_secs((a), (b)) |
Definition at line 52 of file tool_util.h.
#define tvlong | ( | a | ) | tool_tvlong((a)) |
Definition at line 53 of file tool_util.h.
#define tvnow | ( | void | ) | tool_tvnow() |
Definition at line 50 of file tool_util.h.
long tool_tvdiff | ( | struct timeval | t1, |
struct timeval | t2 | ||
) |
Definition at line 122 of file tool_util.c.
double tool_tvdiff_secs | ( | struct timeval | t1, |
struct timeval | t2 | ||
) |
Definition at line 133 of file tool_util.c.
long tool_tvlong | ( | struct timeval | t1 | ) |
Definition at line 143 of file tool_util.c.
struct timeval tool_tvnow | ( | void | ) | [read] |
Definition at line 103 of file tool_util.c.