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

Per-thread statistics counters for state-DB popping and free-state acquisition. More...

Public Attributes

size_t localDatabaseState = 0
 Base states popped from the thread's own (preferred) NUMA domain.
 
size_t nonLocalDatabaseState = 0
 Base states popped from a non-preferred NUMA domain.
 
size_t databaseStateNotFound = 0
 Pop attempts that found every current-state queue drained.
 
size_t localFreeState = 0
 Free slots obtained from the preferred NUMA domain's free queue.
 
size_t nonLocalFreeState = 0
 Free slots obtained from a non-preferred domain's free queue.
 
size_t stealingFreeState = 0
 Free slots stolen from the back of a current-state queue.
 
size_t freeStateNotFound = 0
 getFreeState attempts that found no slot anywhere.
 
size_t distanceAccumulator = 0
 Sum of NUMA distances over all accesses, for the average-distance metric.
 
size_t freeStateCacheHit = 0
 getFreeState requests served from the thread-local free-slot cache.
 
size_t freeStateCacheReturn = 0
 returnFreeState calls absorbed by the thread-local free-slot cache.
 

Detailed Description

Per-thread statistics counters for state-DB popping and free-state acquisition.

Cache-line aligned to avoid false sharing between adjacent threads' counters; reduced into totals only when printInfo runs (off the hot path).

Definition at line 802 of file stateDb.hpp.

Member Data Documentation

◆ databaseStateNotFound

size_t jaffarPlus::StateDb::statCounters_t::databaseStateNotFound = 0

Pop attempts that found every current-state queue drained.

Definition at line 806 of file stateDb.hpp.

◆ distanceAccumulator

size_t jaffarPlus::StateDb::statCounters_t::distanceAccumulator = 0

Sum of NUMA distances over all accesses, for the average-distance metric.

Definition at line 811 of file stateDb.hpp.

◆ freeStateCacheHit

size_t jaffarPlus::StateDb::statCounters_t::freeStateCacheHit = 0

getFreeState requests served from the thread-local free-slot cache.

Definition at line 812 of file stateDb.hpp.

◆ freeStateCacheReturn

size_t jaffarPlus::StateDb::statCounters_t::freeStateCacheReturn = 0

returnFreeState calls absorbed by the thread-local free-slot cache.

Definition at line 813 of file stateDb.hpp.

◆ freeStateNotFound

size_t jaffarPlus::StateDb::statCounters_t::freeStateNotFound = 0

getFreeState attempts that found no slot anywhere.

Definition at line 810 of file stateDb.hpp.

◆ localDatabaseState

size_t jaffarPlus::StateDb::statCounters_t::localDatabaseState = 0

Base states popped from the thread's own (preferred) NUMA domain.

Definition at line 804 of file stateDb.hpp.

◆ localFreeState

size_t jaffarPlus::StateDb::statCounters_t::localFreeState = 0

Free slots obtained from the preferred NUMA domain's free queue.

Definition at line 807 of file stateDb.hpp.

◆ nonLocalDatabaseState

size_t jaffarPlus::StateDb::statCounters_t::nonLocalDatabaseState = 0

Base states popped from a non-preferred NUMA domain.

Definition at line 805 of file stateDb.hpp.

◆ nonLocalFreeState

size_t jaffarPlus::StateDb::statCounters_t::nonLocalFreeState = 0

Free slots obtained from a non-preferred domain's free queue.

Definition at line 808 of file stateDb.hpp.

◆ stealingFreeState

size_t jaffarPlus::StateDb::statCounters_t::stealingFreeState = 0

Free slots stolen from the back of a current-state queue.

Definition at line 809 of file stateDb.hpp.


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