ThreadSchedule 2.2.0
Modern C++ thread management library
Loading...
Searching...
No Matches
threadschedule::ThreadPoolBase< WaitPolicy >::Statistics Struct Reference

#include <thread_pool.hpp>

Public Attributes

size_t total_threads
size_t active_threads
size_t pending_tasks
size_t completed_tasks
double tasks_per_second
std::chrono::microseconds avg_task_time

Detailed Description

template<typename WaitPolicy>
struct threadschedule::ThreadPoolBase< WaitPolicy >::Statistics

Definition at line 1354 of file thread_pool.hpp.

Member Data Documentation

◆ active_threads

template<typename WaitPolicy>
size_t threadschedule::ThreadPoolBase< WaitPolicy >::Statistics::active_threads

Definition at line 1357 of file thread_pool.hpp.

◆ avg_task_time

template<typename WaitPolicy>
std::chrono::microseconds threadschedule::ThreadPoolBase< WaitPolicy >::Statistics::avg_task_time

Definition at line 1361 of file thread_pool.hpp.

◆ completed_tasks

template<typename WaitPolicy>
size_t threadschedule::ThreadPoolBase< WaitPolicy >::Statistics::completed_tasks

Definition at line 1359 of file thread_pool.hpp.

◆ pending_tasks

template<typename WaitPolicy>
size_t threadschedule::ThreadPoolBase< WaitPolicy >::Statistics::pending_tasks

Definition at line 1358 of file thread_pool.hpp.

◆ tasks_per_second

template<typename WaitPolicy>
double threadschedule::ThreadPoolBase< WaitPolicy >::Statistics::tasks_per_second

Definition at line 1360 of file thread_pool.hpp.

◆ total_threads

template<typename WaitPolicy>
size_t threadschedule::ThreadPoolBase< WaitPolicy >::Statistics::total_threads

Definition at line 1356 of file thread_pool.hpp.


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