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

Get memory footprint statistics for the queue. More...

#include <job_queue.h>

Collaboration diagram for kcenon::thread::job_queue::memory_stats:
Collaboration graph

Public Attributes

std::size_t queue_size_bytes
 
std::size_t pending_job_count
 
std::size_t node_overhead_bytes
 

Detailed Description

Get memory footprint statistics for the queue.

Provides estimated memory usage for debugging and monitoring. Useful for detecting memory leaks or excessive queue growth.

Returns
Structure containing memory usage estimates

Definition at line 247 of file job_queue.h.

Member Data Documentation

◆ node_overhead_bytes

std::size_t kcenon::thread::job_queue::memory_stats::node_overhead_bytes

Definition at line 250 of file job_queue.h.

Referenced by kcenon::thread::job_queue::get_memory_stats().

◆ pending_job_count

std::size_t kcenon::thread::job_queue::memory_stats::pending_job_count

Definition at line 249 of file job_queue.h.

Referenced by kcenon::thread::job_queue::get_memory_stats().

◆ queue_size_bytes

std::size_t kcenon::thread::job_queue::memory_stats::queue_size_bytes

Definition at line 248 of file job_queue.h.

Referenced by kcenon::thread::job_queue::get_memory_stats().


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