#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "lib/types.h"
#include "lib/assert.h"
#include "lib/memory.h"
#include "lib/thread.h"
#include "lib/arith.h"
#include "lib/ub.h"
#include "ut/ut.h"
#include "sns/matvec.h"
#include "sns/ls_solve.h"
#include "sns/parity_math.h"
Go to the source code of this file.
◆ KB
#define KB |
( |
|
x | ) |
((x) * 1024) |
◆ MAX_NUM_THREADS
#define MAX_NUM_THREADS 30 |
◆ MB
#define MB |
( |
|
x | ) |
(KB(x) * 1024) |
◆ anonymous enum
◆ tb_cfg_fini()
void tb_cfg_fini |
( |
struct tb_cfg * |
cfg | ) |
|
◆ tb_cfg_init()
void tb_cfg_init |
( |
struct tb_cfg * |
cfg, |
|
|
uint32_t |
data_count, |
|
|
uint32_t |
parity_count, |
|
|
uint32_t |
block_size, |
|
|
uint32_t |
th_num |
|
) |
| |
◆ tb_thread()
void tb_thread |
( |
struct tb_cfg * |
cfg | ) |
|
◆ ub_init()
static int ub_init |
( |
const char *opts |
M0_UNUSED | ) |
|
|
static |
◆ ub_large_1M()
◆ ub_large_32K()
◆ ub_large_4K()
◆ ub_medium_1M()
◆ ub_medium_32K()
◆ ub_medium_4K()
◆ ub_mt_test()
static void ub_mt_test |
( |
uint32_t |
data_count, |
|
|
uint32_t |
parity_count, |
|
|
uint32_t |
block_size |
|
) |
| |
|
static |
◆ ub_small_1M()
◆ ub_small_32K()
◆ ub_small_4_2_1M()
static void ub_small_4_2_1M |
( |
int |
iter | ) |
|
|
static |
◆ ub_small_4_2_256K()
static void ub_small_4_2_256K |
( |
int |
iter | ) |
|
|
static |
◆ ub_small_4_2_4K()
static void ub_small_4_2_4K |
( |
int |
iter | ) |
|
|
static |
◆ ub_small_4K()
◆ unit_compare()
static void unit_compare |
( |
struct tb_cfg * |
cfg | ) |
|
|
static |
◆ unit_spoil()
static void unit_spoil |
( |
struct tb_cfg * |
cfg | ) |
|
|
static |
◆ m0_parity_math_mt_ub
◆ seed