|
|
|
@ -82,6 +82,7 @@ void timespec_to_val(struct timeval *val, const struct timespec *spec);
@@ -82,6 +82,7 @@ void timespec_to_val(struct timeval *val, const struct timespec *spec);
|
|
|
|
|
void timeval_to_spec(struct timespec *spec, const struct timeval *val); |
|
|
|
|
void us_to_timeval(struct timeval *val, int64_t us); |
|
|
|
|
void us_to_timespec(struct timespec *spec, int64_t us); |
|
|
|
|
void timeraddspec(struct timespec *a, const struct timespec *b); |
|
|
|
|
double us_tdiff(struct timeval *end, struct timeval *start); |
|
|
|
|
double tdiff(struct timeval *end, struct timeval *start); |
|
|
|
|
bool stratum_send(struct pool *pool, char *s, ssize_t len); |
|
|
|
|