Motr
M0
|
#include <stdio.h>
#include <sys/time.h>
#include <math.h>
#include "lib/misc.h"
#include "lib/errno.h"
#include "lib/time.h"
#include "lib/assert.h"
#include "lib/arith.h"
#include "lib/ub.h"
Go to the source code of this file.
Macros | |
#define | _ISOC99_SOURCE /* INFINITY */ |
Functions | |
M0_INTERNAL void | m0_ub_set_print (void) |
M0_INTERNAL int | m0_ub_set_select (const char *name) |
M0_INTERNAL void | m0_ub_set_add (struct m0_ub_set *set) |
static void | timeval_norm (struct timeval *t) |
static void | timeval_diff (const struct timeval *start, const struct timeval *end, struct timeval *diff) |
static double | delay (const struct timeval *start, const struct timeval *end) |
static void | ub_run_one (const struct m0_ub_set *set, struct m0_ub_bench *bench) |
static uint64_t | bw (uint64_t bytes, m0_time_t time) |
static void | results_print (uint32_t round) |
M0_INTERNAL int | m0_ub_run (uint32_t rounds, const char *opts) |
Variables | |
static struct m0_ub_set * | last = NULL |