|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
线程池统计信息 更多...
#include <thread_pool.hpp>
Public 成员函数 | |
| string | to_string () const |
| 转换为字符串 | |
| Public 成员函数 继承自 neforce::istringify< pool_statistics > | |
| constexpr 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 第 336 行定义.
|
nodiscard |
转换为字符串