Go to the source code of this file.
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_UT |
◆ init_fini()
static void init_fini |
( |
void |
| ) |
|
|
static |
◆ test_around()
static void test_around |
( |
struct m0_addb2_hist * |
h, |
|
|
int64_t |
val |
|
) |
| |
|
static |
◆ test_bucket()
static void test_bucket |
( |
void |
| ) |
|
|
static |
◆ test_hist()
◆ test_one()
◆ addb2_hist_ut
Initial value:= {
.ts_name = "addb2-histogram",
.ts_tests = {
}
}
static void test_bucket(void)
static void init_fini(void)
Definition at line 105 of file histogram.c.
◆ minmax
const int64_t minmax[][2] |
|
static |
Initial value:= {
{ 0, 1 },
{ 1, 2 },
{ -1, 0 },
{ 0, 0 }
}
Definition at line 41 of file histogram.c.
◆ random_val
const int64_t random_val[] |
|
static |
Initial value:= {
3, 5, 7, 9, 10, 11, 13, 15, 17, 1024, 1500, 60, 7776, 0xdeadbeef, 0
}
Definition at line 51 of file histogram.c.