diff --git a/JobSystem/Src/JobSystem/JobSystem.h b/JobSystem/Src/JobSystem/JobSystem.h index 363497b..f36719b 100644 --- a/JobSystem/Src/JobSystem/JobSystem.h +++ b/JobSystem/Src/JobSystem/JobSystem.h @@ -171,6 +171,9 @@ namespace JbSystem { void WaitForJobsAndShutdown(); + void OptimizePerformance(); + void MaybeOptimize(); + /// /// is the job system active or not /// @@ -196,7 +199,6 @@ namespace JbSystem { void Cleanup(); - void OptimizePerformance(); bool RescheduleWorkerJobs(JobSystemWorker& worker); void RescheduleWorkerJobsFromInActiveWorkers(); @@ -233,7 +235,6 @@ namespace JbSystem { /// std::vector StealAllJobsFromWorkers(); - void MaybeOptimize(); void MaybeHelpLowerQueue(const JobPriority& priority); std::atomic _activeWorkerCount = 0;