Better systrace logging and small improvements to JobSystem
Tweak how we signal/wakeup threads so we get better parallelism on Android.
This commit is contained in:
committed by
Mathias Agopian
parent
9a24c4001f
commit
4d73583f86
@@ -470,6 +470,7 @@ struct ParallelForJobData {
|
||||
}
|
||||
|
||||
void parallelWithJobs(JobSystem& js, JobSystem::Job* parent) noexcept {
|
||||
assert(parent);
|
||||
|
||||
// We first split about the number of threads we have, and only then we split the rest
|
||||
// in a single thread (but execute the final cut in new jobs, see parallel() below),
|
||||
|
||||
Reference in New Issue
Block a user