Struct JobStats::ThreadStats¶
Defined in File job_stats.h
Nested Relationships¶
This struct is a nested type of Class JobStats.
Struct Documentation¶
-
struct ThreadStats
Public Members
-
size_t work_executed = 0
Work execution Work is a unit of uninterrupted execution within a job For example, in the following code:
Job<> do_work() { foo(); co_await other_job(); bar(); }
foowill be a different work unit thanbar
-
size_t work_submitted = 0
-
size_t total_work_time_ns = 0
-
size_t min_work_time_ns = std::numeric_limits<size_t>::max()
-
size_t max_work_time_ns = 0
-
std::array<size_t, 3> work_by_priority = {0, 0, 0}
-
size_t steal_attempts = 0
-
size_t steal_successes = 0
-
size_t work_stolen = 0
-
size_t work_lost_to_thieves = 0
-
size_t total_queue_depth_samples = 0
-
size_t sum_local_queue_depth = 0
-
size_t sum_stealable_queue_depth = 0
-
size_t max_local_queue_depth = 0
-
size_t max_stealable_queue_depth = 0
-
size_t idle_spins = 0
-
size_t total_idle_time_ns = 0
-
size_t local_queue_hits = 0
-
size_t steal_queue_hits = 0
-
size_t global_queue_hits = 0
-
size_t work_executed = 0