Intel(R) Threading Building Blocks Doxygen Documentation
version 4.2.3
|
Type enables transmission of splitting proportion from partitioners to range objects. More...
#include <tbb_stddef.h>
Public Member Functions | |
proportional_split (size_t _left=1, size_t _right=1) | |
size_t | left () const |
size_t | right () const |
operator split () const | |
Private Attributes | |
size_t | my_left |
size_t | my_right |
Type enables transmission of splitting proportion from partitioners to range objects.
In order to make use of such facility Range objects must implement splitting constructor with this type passed and initialize static constant boolean field 'is_splittable_in_proportion' with the value of 'true'
Definition at line 409 of file tbb_stddef.h.
|
inline |
Definition at line 411 of file tbb_stddef.h.
|
inline |
Definition at line 413 of file tbb_stddef.h.
References my_left.
Referenced by tbb::blocked_range< I >::do_split(), and tbb::interface9::internal::proportional_mode< static_partition_type >::do_split().
|
inline |
Definition at line 417 of file tbb_stddef.h.
|
inline |
Definition at line 414 of file tbb_stddef.h.
References my_right.
Referenced by tbb::blocked_range< I >::do_split(), and tbb::interface9::internal::proportional_mode< static_partition_type >::do_split().
|
private |
Definition at line 426 of file tbb_stddef.h.
Referenced by left().
|
private |
Definition at line 426 of file tbb_stddef.h.
Referenced by right().