18 std::shared_ptr<job_queue> custom_queue,
25 std::unique_ptr<pool_queue_adapter_interface> queue_adapter,
const numa_topology & numa_topology_info() const
Get the detected NUMA topology.
enhanced_work_stealing_config enhanced_ws_config_
Enhanced work-stealing configuration.
bool is_numa_system() const
Check if the system has NUMA architecture.
worker_policy worker_policy_
Worker policy configuration.
bool topology_detected_
Flag indicating if topology has been detected.
bool is_numa_work_stealing_enabled() const
Check if NUMA work stealing is currently enabled.
numa_topology cached_topology_
Cached NUMA topology (detected on construction)
void enable_numa_work_stealing()
Enable NUMA-optimized work stealing with default settings.
const enhanced_work_stealing_config & numa_work_stealing_config() const
Get the current NUMA work-stealing configuration.
void configure_numa_work_stealing(const enhanced_work_stealing_config &config)
Configure NUMA-aware work stealing.
std::unique_ptr< numa_work_stealer > numa_work_stealer_
NUMA-aware work stealer.
void disable_numa_work_stealing()
Disable NUMA-aware work stealing.
void ensure_topology_detected() const
Ensure topology is detected.
work_stealing_stats_snapshot numa_work_stealing_stats() const
Get a snapshot of NUMA work-stealing statistics.
NUMA (Non-Uniform Memory Access) topology information.
static auto detect() -> numa_topology
Detect and return the system's NUMA topology.
auto is_numa_available() const -> bool
Check if NUMA is available on this system.
auto node_count() const -> std::size_t
Get the number of NUMA nodes.
Context object that provides access to optional services.
A thread pool for concurrent execution of jobs using multiple worker threads.
friend class numa_thread_pool
Core threading foundation of the thread system library.
NUMA-aware thread pool optimized for Non-Uniform Memory Access architectures.
NUMA-aware work stealer with enhanced victim selection policies.
Configuration for enhanced work-stealing with NUMA awareness.
bool numa_aware
Enable NUMA-aware stealing (default: disabled)
static auto numa_optimized() -> enhanced_work_stealing_config
Create a configuration optimized for NUMA systems.
bool enabled
Master switch for work-stealing (default: disabled)
Non-atomic snapshot of work-stealing statistics.
bool enable_work_stealing