#include <threadpool.hpp>
◆ Statistics() [1/3]
| ThreadPool::Statistics::Statistics |
( |
| ) |
|
|
default |
◆ Statistics() [2/3]
| ThreadPool::Statistics::Statistics |
( |
const Statistics & |
| ) |
|
|
delete |
◆ Statistics() [3/3]
| ThreadPool::Statistics::Statistics |
( |
Statistics && |
other | ) |
|
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ get_throughput()
| auto ThreadPool::Statistics::get_throughput |
( |
| ) |
const -> double |
|
inlinenoexcept |
◆ get_uptime()
| auto ThreadPool::Statistics::get_uptime |
( |
| ) |
const -> std::chrono::duration<double> |
|
inlinenoexcept |
◆ tasks_submitted
| std::atomic<std::size_t> ThreadPool::Statistics::tasks_submitted {0} |
◆ tasks_completed
| std::atomic<std::size_t> ThreadPool::Statistics::tasks_completed {0} |
◆ tasks_failed
| std::atomic<std::size_t> ThreadPool::Statistics::tasks_failed {0} |
◆ tasks_pending
| std::atomic<std::size_t> ThreadPool::Statistics::tasks_pending {0} |
◆ start_time
| std::chrono::steady_clock::time_point ThreadPool::Statistics::start_time {std::chrono::steady_clock::now()} |
The documentation for this struct was generated from the following file: