|
KiCad PCB EDA Suite
|
Functions | |
| uint32_t | StripeCountFor (size_t aEdgeCount) |
| uint32_t | MapYToStripe (int aY, int aMinY, int aMaxY, uint32_t aStripeCount) |
| std::pair< uint32_t, uint32_t > | StripeSpan (int aY1, int aY2, int aMinY, int aMaxY, uint32_t aStripeCount) |
| bool | CheckedAdd (size_t &aTotal, size_t aCount, size_t aElementSize) |
| size_t | CapacityBudget (size_t aEdgeCount, size_t aEdgeSize) |
| bool | CapacityFits (size_t aBucketIds, size_t aLongIds, size_t aStripeCount, size_t aHoleCount, size_t aNodeSize, size_t aBudget) |
| bool | ActualCapacityFits (size_t aBucketIds, size_t aLongIds, size_t aOffsets, size_t aScratch, size_t aHeads, size_t aNodes, size_t aNodeSize, size_t aBudget, size_t *aBytes=nullptr) |
| bool | ShouldIndex (uint64_t aEstimatedVisits, size_t aHoleCount) |
Variables | |
| constexpr uint32_t | MAX_STRIPES = 65536 |
| constexpr uint32_t | MAX_BUCKET_SPAN = 8 |
| constexpr size_t | EDGE_SET_BUDGET_MULTIPLE = 2 |
| constexpr uint64_t | MIN_EDGE_VISITS = 32768 |
| constexpr size_t | MIN_HOLE_COUNT = 8 |
|
inline |
Definition at line 102 of file fracture_edge_index_utils.h.
References CheckedAdd().
Referenced by FRACTURE_EDGE_INDEX::FRACTURE_EDGE_INDEX().
|
inline |
Definition at line 77 of file fracture_edge_index_utils.h.
References CheckedAdd(), and EDGE_SET_BUDGET_MULTIPLE.
|
inline |
Definition at line 90 of file fracture_edge_index_utils.h.
References CheckedAdd(), and MAX_BUCKET_SPAN.
Referenced by FRACTURE_EDGE_INDEX::FRACTURE_EDGE_INDEX().
|
inline |
Definition at line 65 of file fracture_edge_index_utils.h.
Referenced by ActualCapacityFits(), CapacityBudget(), and CapacityFits().
|
inline |
Definition at line 47 of file fracture_edge_index_utils.h.
Referenced by FRACTURE_EDGE_INDEX::map(), and StripeSpan().
|
inline |
Definition at line 119 of file fracture_edge_index_utils.h.
References MIN_EDGE_VISITS, and MIN_HOLE_COUNT.
Referenced by fractureSingleCacheFriendly().
|
inline |
Definition at line 40 of file fracture_edge_index_utils.h.
References MAX_STRIPES.
Referenced by fractureSingleCacheFriendly().
|
inline |
Definition at line 59 of file fracture_edge_index_utils.h.
References MapYToStripe().
Referenced by fractureSingleCacheFriendly(), and FRACTURE_EDGE_INDEX::span().
|
constexpr |
Definition at line 36 of file fracture_edge_index_utils.h.
Referenced by CapacityBudget().
|
constexpr |
Definition at line 33 of file fracture_edge_index_utils.h.
Referenced by CapacityFits(), FRACTURE_EDGE_INDEX::FRACTURE_EDGE_INDEX(), and FRACTURE_EDGE_INDEX::InsertBridges().
|
constexpr |
Definition at line 32 of file fracture_edge_index_utils.h.
Referenced by StripeCountFor().
|
constexpr |
Definition at line 37 of file fracture_edge_index_utils.h.
Referenced by ShouldIndex().
|
constexpr |
Definition at line 38 of file fracture_edge_index_utils.h.
Referenced by ShouldIndex().