载入中...
搜索中...
未找到
FrameGraphJobs.h
浏览该文件的文档.
28 bool isParallelWorthwhile() const { return serialCost >= std::chrono::microseconds(500) && parallelFrames < 60; }
42EVENGINE_API_BACKENDS vkb::PassRecordExecutor jobSystemPassExecutor(eve::thread::JobSystem *jobs);
Abstract job scheduler: dependencies, parallel_for, task_group, arena.
Definition JobSystem.h:157
Definition VulkanSequence.h:9
vkb::PassRecordExecutor jobSystemPassExecutor(eve::thread::JobSystem *jobs)
Build a vkb::PassRecordExecutor backed by the engine JobSystem.
Definition FrameArena.cpp:18
void recordFrameGraphWithJobSystem(vkb::FrameGraph &graph, eve::thread::JobSystem *jobs, FrameGraphRecordingState &state)
Record a vkb::FrameGraph with the engine JobSystem as the parallel recording executor,...
Definition FrameArena.cpp:43
Definition CrowdThread.h:5
Render-thread-owned recording cost history; reset when graph topology changes. @ownership Stored by G...
Definition FrameGraphJobs.h:22
uint32_t parallelFrames
Definition FrameGraphJobs.h:24
std::chrono::nanoseconds serialCost
Definition FrameGraphJobs.h:23
bool isParallelWorthwhile() const
Whether the measured graph justifies worker scheduling this frame. Periodically remeasure serial cost...
Definition FrameGraphJobs.h:28