Searched refs:remaining_threads (Results 1 – 1 of 1) sorted by relevance
189 int remaining_threads = thread_count - frame_threads; in InitializeThreadPoolsForFrameParallel() local190 if (remaining_threads == 0) return true; in InitializeThreadPoolsForFrameParallel()191 int threads_per_frame = remaining_threads / frame_threads; in InitializeThreadPoolsForFrameParallel()192 const int extra_threads = remaining_threads % frame_threads; in InitializeThreadPoolsForFrameParallel()196 for (int i = 0; i < frame_threads && remaining_threads > 0; ++i) { in InitializeThreadPoolsForFrameParallel()211 remaining_threads -= current_frame_thread_count; in InitializeThreadPoolsForFrameParallel()