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

Base snapshot structure containing common metric values. More...

#include <metrics_base.h>

Collaboration diagram for kcenon::thread::metrics::BaseSnapshot:
Collaboration graph

Public Attributes

std::uint64_t tasks_submitted {0}
 Total tasks submitted to the pool.
 
std::uint64_t tasks_executed {0}
 Total tasks successfully executed.
 
std::uint64_t tasks_failed {0}
 Total tasks that failed during execution.
 
std::uint64_t total_busy_time_ns {0}
 Total busy time across all workers in nanoseconds.
 
std::uint64_t total_idle_time_ns {0}
 Total idle time across all workers in nanoseconds.
 

Detailed Description

Base snapshot structure containing common metric values.

This structure provides a point-in-time view of the core metrics that are shared across all metrics implementations.

Definition at line 32 of file metrics_base.h.

Member Data Documentation

◆ tasks_executed

std::uint64_t kcenon::thread::metrics::BaseSnapshot::tasks_executed {0}

◆ tasks_failed

std::uint64_t kcenon::thread::metrics::BaseSnapshot::tasks_failed {0}

◆ tasks_submitted

std::uint64_t kcenon::thread::metrics::BaseSnapshot::tasks_submitted {0}

◆ total_busy_time_ns

std::uint64_t kcenon::thread::metrics::BaseSnapshot::total_busy_time_ns {0}

◆ total_idle_time_ns

std::uint64_t kcenon::thread::metrics::BaseSnapshot::total_idle_time_ns {0}

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