23 #include <freeradius-devel/util/acutest.h>
24 #include <freeradius-devel/util/acutest_helpers.h>
25 #include <freeradius-devel/util/time.h>
27 #define ROUNDS (100000)
37 for (i = 0; i <
ROUNDS; i++) {
45 printf(
"fr_time rate %" PRIu64
"\n", rate);
50 DIAG_ON(unused-but-set-variable)
#define fr_time()
Allow us to arbitrarily manipulate time.
static int64_t fr_time_delta_unwrap(fr_time_delta_t time)
#define fr_time_sub(_a, _b)
Subtract one time from another.
static void time_benchmark(void)