载入中...
搜索中...
未找到
eve::pixelworld_thread::JobSystemPixelScheduler类 参考final
Synchronous PixelWorld candidate scheduler backed by engine JobSystem. 更多...
#include <PixelWorldThread.h>
类 eve::pixelworld_thread::JobSystemPixelScheduler 继承关系图:
Public 成员函数 | |
| JobSystemPixelScheduler (eve::thread::JobSystem &jobs) noexcept | |
| Borrow a running scheduler. | |
| void | parallelFor (std::size_t workItems, const std::function< void(std::size_t)> &body) override |
| Parallel for. | |
| std::size_t | workerCount () const noexcept override |
| Worker count. | |
Public 成员函数 继承自 eve::pixelworld::PixelWorkScheduler | |
| virtual | ~PixelWorkScheduler ()=default |
| Releases PixelWorkScheduler resources. | |
详细描述
Synchronous PixelWorld candidate scheduler backed by engine JobSystem.
The adapter borrows JobSystem for its whole lifetime and never stops or owns it. parallelFor joins every submitted job before returning. Worker failure falls back to a deterministic serial overwrite of all index-owned result slots.
在文件 PixelWorldThread.h 第 20 行定义.
构造及析构函数说明
◆ JobSystemPixelScheduler()
|
explicitnoexcept |
Borrow a running scheduler.
- 参数
-
jobs JobSystem that must outlive this adapter and all calls.
在文件 PixelWorldThread.cpp 第 10 行定义.
成员函数说明
◆ parallelFor()
|
overridevirtual |
Parallel for.
- 参数
-
body Void.
实现了 eve::pixelworld::PixelWorkScheduler.
在文件 PixelWorldThread.cpp 第 13 行定义.
引用了 body, first, index , 以及 eve::thread::JobSystem::parallelFor().
◆ workerCount()
|
overridevirtualnoexcept |
该类的文档由以下文件生成:
- src/modules/pixelworld/thread/PixelWorldThread.h
- src/modules/pixelworld/thread/PixelWorldThread.cpp
Public 成员函数 继承自