|
Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
|
Statistics for autoscaling operations. More...
#include <scaling_metrics.h>

Public Attributes | |
| std::size_t | scale_up_count {0} |
| Number of scale-up events. | |
| std::size_t | scale_down_count {0} |
| Number of scale-down events. | |
| std::size_t | decisions_evaluated {0} |
| Number of decisions evaluated. | |
| std::chrono::steady_clock::time_point | last_scale_up |
| Time of last scale-up event. | |
| std::chrono::steady_clock::time_point | last_scale_down |
| Time of last scale-down event. | |
| std::size_t | peak_workers {0} |
| Peak worker count observed. | |
| std::size_t | min_workers {0} |
| Minimum worker count observed. | |
Statistics for autoscaling operations.
Tracks historical scaling events and decisions for monitoring and debugging autoscaling behavior.
Definition at line 120 of file scaling_metrics.h.
| std::size_t kcenon::thread::autoscaling_stats::decisions_evaluated {0} |
| std::chrono::steady_clock::time_point kcenon::thread::autoscaling_stats::last_scale_down |
Time of last scale-down event.
Definition at line 135 of file scaling_metrics.h.
| std::chrono::steady_clock::time_point kcenon::thread::autoscaling_stats::last_scale_up |
Time of last scale-up event.
Definition at line 132 of file scaling_metrics.h.
| std::size_t kcenon::thread::autoscaling_stats::min_workers {0} |
Minimum worker count observed.
Definition at line 141 of file scaling_metrics.h.
Referenced by kcenon::thread::autoscaler::autoscaler(), and kcenon::thread::autoscaler::reset_stats().
| std::size_t kcenon::thread::autoscaling_stats::peak_workers {0} |
Peak worker count observed.
Definition at line 138 of file scaling_metrics.h.
Referenced by kcenon::thread::autoscaler::autoscaler().
| std::size_t kcenon::thread::autoscaling_stats::scale_down_count {0} |
| std::size_t kcenon::thread::autoscaling_stats::scale_up_count {0} |