threadman 0.1.0
Header-only C++23 managed threads, dynamic pools, futures, and executors
Loading...
Searching...
No Matches
Public Attributes | List of all members
threadman::ManagerSummary Struct Reference

Aggregate publish-payload produced periodically by the ThreadManager's housekeeper. More...

#include <stats.hpp>

Collaboration diagram for threadman::ManagerSummary:
Collaboration graph
[legend]

Public Attributes

std::chrono::system_clock::time_point wall_clock
 
std::size_t live_threads = 0
 
std::size_t total_pools = 0
 
std::size_t total_live_workers = 0
 
std::size_t total_queued = 0
 
std::uint64_t total_completed = 0
 
std::uint64_t total_failed = 0
 
std::vector< ThreadPoolStatsper_pool_stats
 
std::vector< TaskSnapshotstuck_tasks
 

Detailed Description

Aggregate publish-payload produced periodically by the ThreadManager's housekeeper.

Sent to every SummaryListener once per Options::summary_interval.

Member Data Documentation

◆ live_threads

std::size_t threadman::ManagerSummary::live_threads = 0

◆ per_pool_stats

std::vector<ThreadPoolStats> threadman::ManagerSummary::per_pool_stats

◆ stuck_tasks

std::vector<TaskSnapshot> threadman::ManagerSummary::stuck_tasks

◆ total_completed

std::uint64_t threadman::ManagerSummary::total_completed = 0

◆ total_failed

std::uint64_t threadman::ManagerSummary::total_failed = 0

◆ total_live_workers

std::size_t threadman::ManagerSummary::total_live_workers = 0

◆ total_pools

std::size_t threadman::ManagerSummary::total_pools = 0

◆ total_queued

std::size_t threadman::ManagerSummary::total_queued = 0

◆ wall_clock

std::chrono::system_clock::time_point threadman::ManagerSummary::wall_clock

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