|
Blender V4.3
|
#include <BLI_task_size_hints.hh>
Inherited by blender::threading::detail::TaskSizeHints_AccumulatedLookup, blender::threading::detail::TaskSizeHints_IndividualLookup, and blender::threading::detail::TaskSizeHints_Static.
Public Types | |
| enum class | Type { Static , IndividualLookup , AccumulatedLookup } |
Public Attributes | |
| Type | type |
Protected Member Functions | |
| TaskSizeHints (const Type type) | |
Specifies how large the individual tasks are relative to each other. It's common that all tasks have a very similar size in which case one can just ignore this. However, sometimes tasks have very different sizes and it makes sense for the scheduler to group fewer big tasks and many small tasks together.
Definition at line 25 of file BLI_task_size_hints.hh.
|
strong |
Definition at line 27 of file BLI_task_size_hints.hh.
|
inlineprotected |
Definition at line 42 of file BLI_task_size_hints.hh.
| Type blender::threading::TaskSizeHints::type |
Definition at line 39 of file BLI_task_size_hints.hh.
Referenced by blender::threading::detail::parallel_for_impl(), and blender::threading::use_single_thread().