Struct grind_params

Struct Documentation

struct grind_params

Grinder initialization parameters

Public Members

char **names

Names of grindees

size_t n_inst

Number of grindee names in grind_params::names.

uint32_t flags

Configuration flags. See grinder::flags for valid flags.

enum grind_mode mode
size_t res

How many collected samples will be averaged to form a single datapoint for each grindee.

size_t tsize

Size of stat table for each grindee (homogeneous)

struct timespec interval

Timeout to reset statistics.

struct timespec (*gettime)(void)

Callback to return the current time for a grindee. Can be NULL in ekRCSW_GRIND_COUNT mode.