Module perf

Module perf 

Source
Expand description

Performance optimization infrastructure and implementations.

This module provides optimized implementations of critical paths in the threading system, including CPU cache-aware algorithms, NUMA optimization, and architecture-specific acceleration.

Modules§

cache_aware
Cache-aware optimizations for scheduler hot paths.
context_switch_opt
Context switch optimizations with micro-benchmarking support.
cpu_dispatch
CPU-specific optimizations and SIMD acceleration.
fast_paths
Lock-free fast paths for common threading operations.
memory_pools
Per-CPU memory pools for optimized allocation performance.
numa
NUMA-aware thread placement and memory allocation optimizations.

Structs§

PerfConfig
Performance configuration structure.
PerfCounters
Performance counters for monitoring optimization effectiveness.

Statics§

PERF_COUNTERS
Global performance counters instance.

Functions§

get_perf_config
Get the current performance configuration.
init_perf_optimization
Initialize performance subsystem with optimal configuration.