SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
|
How to merge routing table entries. More...
Go to the source code of this file.
Data Structures | |
struct | merge_t |
merge struct. entries which can be merged More... | |
Macros | |
#define | FULL 0xffffffff |
the ful key | |
#define | EMPTY 0x00000000 |
the empty mask | |
#define | INIT_SOURCE 0x0 |
the init for sources of entries | |
#define | INIT_ROUTE 0x0 |
the init for routes of entries | |
Functions | |
static int | merge_goodness (merge_t *merge) |
Get the goodness for a merge. | |
static void | merge_clear (merge_t *m) |
Clear a merge. | |
static bool | merge_init (merge_t *m, uint32_t n_entries_in_table) |
Initialise a merge. | |
static void | merge_delete (merge_t *m) |
Destroy a merge. | |
static void | merge_add (merge_t *m, unsigned int i) |
Add an entry to the merge. | |
static bool | merge_contains (merge_t *m, unsigned int i) |
See if an entry is contained within a merge. | |
static void | merge_remove (merge_t *m, unsigned int i) |
Remove an entry from the merge. | |
How to merge routing table entries.
Definition in file merge.h.
struct merge_t |
Data Fields | ||
---|---|---|
bit_set_t | entries | Set of entries included in the merge. |
key_mask_t | key_mask | key_mask resulting from the merge |
uint32_t | route | Route taken by entries in the merge. |
uint32_t | source | Collective source of entries in the route. |