|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
线程池统计信息 更多...
#include <thread_pool.hpp>
Public 成员函数 | |
| NEFORCE_NODISCARD string | to_string () const |
| 转换为字符串 | |
| Public 成员函数 继承自 istringify< pool_statistics > | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 string | to_string () const |
| 转换为字符串 | |
Public 属性 | |
| size_t | total_threads |
| 总线程数 | |
| size_t | idle_threads |
| 空闲线程数 | |
| size_t | busy_threads |
| 忙碌线程数 | |
| size_t | queue_size |
| 全局队列大小 | |
| size_t | total_submitted |
| 总提交任务数 | |
| size_t | total_stolen |
| 总窃取任务数 | |
| size_t | total_completed |
| 总完成任务数 | |
线程池统计信息
在文件 thread_pool.hpp 第 331 行定义.
| NEFORCE_NODISCARD string thread_pool::pool_statistics::to_string | ( | ) | const |
转换为字符串