Motr  M0
m0_ub_set Struct Reference

#include <ub.h>

Collaboration diagram for m0_ub_set:
Collaboration graph

Data Fields

const char * us_name
 
int(* us_init )(const char *opts)
 
void(* us_fini )(void)
 
struct m0_ub_setus_prev
 
struct m0_ub_bench us_run [M0_UB_SET_BENCHMARKS_MAX]
 

Detailed Description

Structure to define a set of unit benchmarks.

Definition at line 74 of file ub.h.

Field Documentation

◆ us_fini

void(* us_fini) (void)

Function to free tests in set.

Definition at line 89 of file ub.h.

◆ us_init

int(* us_init) (const char *opts)

Function to prepare tests in set.

Parameters
optsOptional string with benchmark arguments, specified via ‘-o’ CLI option.
See also
ub_args_parse()

Definition at line 86 of file ub.h.

◆ us_name

const char* us_name

Name of a set, has to be unique.

Definition at line 76 of file ub.h.

◆ us_prev

struct m0_ub_set* us_prev

Definition at line 91 of file ub.h.

◆ us_run

Benchmarks in the set.

Definition at line 94 of file ub.h.


The documentation for this struct was generated from the following file: