6#include <Common/assertion.h>
24 std::size_t m_numScheduled;
26 void scheduleOne(
WorkUnit* out_workUnit)
override;
41inline void PlateScheduler::scheduleOne(
WorkUnit*
const out_workUnit)
43 PH_ASSERT(out_workUnit);
55 *out_workUnit = WorkUnit();
Definition PlateScheduler.h:18
PlateScheduler()
Definition PlateScheduler.h:31
A manager that distributes a fixed amount of work to workers.
Definition WorkScheduler.h:21
WorkUnit m_totalWorkUnit
Definition WorkScheduler.h:55
std::size_t m_numWorkers
Definition WorkScheduler.h:54
Represents some amount of work.
Definition WorkUnit.h:17
Region getRegion() const
Definition WorkUnit.h:72
std::size_t getDepth() const
Definition WorkUnit.h:77
Miscellaneous math utilities.
std::pair< std::size_t, std::size_t > ith_evenly_divided_range(const std::size_t rangeIndex, const std::size_t totalSize, const std::size_t numDivisions)
Gets the i-th evenly divided range.
Definition math.h:379
The root for all renderer implementations.
Definition EEngineProject.h:6