Thread System 0.3.1
High-performance C++20 thread pool with work stealing and DAG scheduling
Loading...
Searching...
No Matches
bottleneck_report.h File Reference

Bottleneck detection and reporting for thread pool performance analysis. More...

#include <cstddef>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>
Include dependency graph for bottleneck_report.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::thread::diagnostics::bottleneck_report
 Analysis report of bottlenecks in the thread pool. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::thread
 Core threading foundation of the thread system library.
 
namespace  kcenon::thread::diagnostics
 

Enumerations

enum class  kcenon::thread::diagnostics::bottleneck_type {
  kcenon::thread::diagnostics::bottleneck_type::none , kcenon::thread::diagnostics::bottleneck_type::queue_full , kcenon::thread::diagnostics::bottleneck_type::slow_consumer , kcenon::thread::diagnostics::bottleneck_type::worker_starvation ,
  kcenon::thread::diagnostics::bottleneck_type::lock_contention , kcenon::thread::diagnostics::bottleneck_type::uneven_distribution , kcenon::thread::diagnostics::bottleneck_type::memory_pressure
}
 Type of bottleneck detected in the thread pool. More...
 

Functions

auto kcenon::thread::diagnostics::bottleneck_type_to_string (bottleneck_type type) -> std::string
 Converts bottleneck_type to human-readable string.
 

Detailed Description

Bottleneck detection and reporting for thread pool performance analysis.

See also
thread_pool_diagnostics

Definition in file bottleneck_report.h.