|
Blender V5.0
|
#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 24 of file BLI_task_size_hints.hh.
|
strong |
Definition at line 26 of file BLI_task_size_hints.hh.
|
inlineprotected |
Definition at line 41 of file BLI_task_size_hints.hh.
References type.
Referenced by blender::threading::detail::TaskSizeHints_AccumulatedLookup::TaskSizeHints_AccumulatedLookup(), blender::threading::detail::TaskSizeHints_IndividualLookup::TaskSizeHints_IndividualLookup(), and blender::threading::detail::TaskSizeHints_Static::TaskSizeHints_Static().
| Type blender::threading::TaskSizeHints::type |
Definition at line 38 of file BLI_task_size_hints.hh.
Referenced by blender::threading::detail::parallel_for_impl(), TaskSizeHints(), and blender::threading::use_single_thread().