20#ifndef __FILTER_INFO_H__
21#define __FILTER_INFO_H__
uint32_t merged
Flag to indicate if the filter has been merged.
static uint32_t global_atom(filter_info_t *filter, struct core_atom *core_atom)
Get the global atom from the core-atom data.
filter_info_t filters[]
The filters themselves, ordered by key.
uint32_t all_ones
Flag to indicate if the filter is redundant.
uint32_t core_shift
The shift to apply to the core to add the core to the key (0-31)
static void next_core_atom(filter_info_t *filter, struct core_atom *core_atom)
Move to the next atom, updating the core as needed.
bit_field_t data
The words of the bitfield.
uint32_t n_filters
Total number of filters.
static uint32_t get_bf_key(filter_info_t *filter, struct core_atom *core_atom)
Get the key for a given core-atom pair.
uint32_t key
Bit field master population key.
uint32_t n_atoms
Number of atoms (=valid bits) in the bitfield.
uint32_t n_atoms_per_core
The number of atoms per core (0 if not used)
A core and an atom for counting.
Describes a single filter, which is a wrapper for bit_field_t.
The contents of the bitfield region in SDRAM.