Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
kcenon::thread::aging_stats Struct Reference

Statistics about priority aging behavior. More...

#include <aging_typed_job_queue.h>

Collaboration diagram for kcenon::thread::aging_stats:
Collaboration graph

Public Attributes

std::size_t total_boosts_applied {0}
 
std::size_t jobs_reached_max_boost {0}
 
std::size_t starvation_alerts {0}
 
std::chrono::milliseconds max_wait_time {0}
 
std::chrono::milliseconds avg_wait_time {0}
 
double boost_rate {0.0}
 

Detailed Description

Statistics about priority aging behavior.

Definition at line 39 of file aging_typed_job_queue.h.

Member Data Documentation

◆ avg_wait_time

std::chrono::milliseconds kcenon::thread::aging_stats::avg_wait_time {0}

Definition at line 45 of file aging_typed_job_queue.h.

45{0};

◆ boost_rate

double kcenon::thread::aging_stats::boost_rate {0.0}

Definition at line 46 of file aging_typed_job_queue.h.

46{0.0}; // Boosts per second

◆ jobs_reached_max_boost

std::size_t kcenon::thread::aging_stats::jobs_reached_max_boost {0}

Definition at line 42 of file aging_typed_job_queue.h.

42{0};

◆ max_wait_time

std::chrono::milliseconds kcenon::thread::aging_stats::max_wait_time {0}

Definition at line 44 of file aging_typed_job_queue.h.

44{0};

◆ starvation_alerts

std::size_t kcenon::thread::aging_stats::starvation_alerts {0}

Definition at line 43 of file aging_typed_job_queue.h.

43{0};

◆ total_boosts_applied

std::size_t kcenon::thread::aging_stats::total_boosts_applied {0}

Definition at line 41 of file aging_typed_job_queue.h.

41{0};

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