JaffarPlus
High-performance best-first search optimizer for tool-assisted speedruns
Loading...
Searching...
No Matches
jaffarPlus::StateDb::freeStateCache_t Struct Reference

Per-thread (OpenMP-thread-indexed) cache of free state slots fronting the shared free-state queues. More...

Public Attributes

size_t count = 0
 Number of slots currently held in slots.
 
void * slots [FREE_STATE_CACHE_CAPACITY]
 Cached free-slot pointers (used as a LIFO stack).
 

Detailed Description

Per-thread (OpenMP-thread-indexed) cache of free state slots fronting the shared free-state queues.

Cache-line aligned so adjacent threads' caches never share a line (no false sharing).

Definition at line 830 of file stateDb.hpp.

Member Data Documentation

◆ count

size_t jaffarPlus::StateDb::freeStateCache_t::count = 0

Number of slots currently held in slots.

Definition at line 832 of file stateDb.hpp.

◆ slots

void* jaffarPlus::StateDb::freeStateCache_t::slots[FREE_STATE_CACHE_CAPACITY]

Cached free-slot pointers (used as a LIFO stack).

Definition at line 833 of file stateDb.hpp.


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