|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Configuration for backoff behavior. More...
#include <steal_backoff_strategy.h>

Public Attributes | |
| steal_backoff_strategy | strategy = steal_backoff_strategy::exponential |
| std::chrono::microseconds | initial_backoff {50} |
| std::chrono::microseconds | max_backoff {1000} |
| double | multiplier = 2.0 |
| Multiplier for exponential backoff. | |
| double | jitter_factor = 0.5 |
| Jitter range as fraction of delay (0.0 - 1.0) | |
Configuration for backoff behavior.
Definition at line 51 of file steal_backoff_strategy.h.
| std::chrono::microseconds kcenon::thread::steal_backoff_config::initial_backoff {50} |
Definition at line 54 of file steal_backoff_strategy.h.
Referenced by kcenon::thread::backoff_calculator::calculate_base_delay(), and kcenon::thread::numa_work_stealer::set_config().
| double kcenon::thread::steal_backoff_config::jitter_factor = 0.5 |
Jitter range as fraction of delay (0.0 - 1.0)
Definition at line 57 of file steal_backoff_strategy.h.
Referenced by kcenon::thread::backoff_calculator::apply_jitter().
| std::chrono::microseconds kcenon::thread::steal_backoff_config::max_backoff {1000} |
Definition at line 55 of file steal_backoff_strategy.h.
Referenced by kcenon::thread::backoff_calculator::calculate_base_delay(), kcenon::thread::backoff_calculator::cap_delay(), and kcenon::thread::numa_work_stealer::set_config().
| double kcenon::thread::steal_backoff_config::multiplier = 2.0 |
Multiplier for exponential backoff.
Definition at line 56 of file steal_backoff_strategy.h.
Referenced by kcenon::thread::backoff_calculator::calculate_base_delay(), and kcenon::thread::numa_work_stealer::set_config().
| steal_backoff_strategy kcenon::thread::steal_backoff_config::strategy = steal_backoff_strategy::exponential |