![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
Inheritance diagram for tbb::auto_partitioner::partition_type:Public Member Functions | |
| partition_type (const auto_partitioner &) | |
| partition_type (partition_type &pt, split) | |
| partition_type (const auto_partitioner &) | |
| partition_type (partition_type &pt, split) | |
| bool | should_execute_range (const task &t) |
| bool | should_execute_range (const task &t) |
Private Attributes | |
| size_t | num_chunks |
Static Private Attributes | |
| static const size_t | VICTIM_CHUNKS = 4 |
Definition at line 114 of file Include/tbb/partitioner.h.
| tbb::auto_partitioner::partition_type::partition_type | ( | const auto_partitioner & | ) | [inline] |
Definition at line 123 of file Include/tbb/partitioner.h.
: num_chunks(internal::get_initial_auto_partitioner_divisor()) {}
| tbb::auto_partitioner::partition_type::partition_type | ( | partition_type & | pt, |
| split | |||
| ) | [inline] |
Definition at line 124 of file Include/tbb/partitioner.h.
References num_chunks.
{
num_chunks = pt.num_chunks /= 2u;
}
| tbb::auto_partitioner::partition_type::partition_type | ( | const auto_partitioner & | ) | [inline] |
Definition at line 123 of file Third Party Tech/TBB/tbb30_20100406oss_win/tbb30_20100406oss/include/tbb/partitioner.h.
: num_chunks(internal::get_initial_auto_partitioner_divisor()) {}
| tbb::auto_partitioner::partition_type::partition_type | ( | partition_type & | pt, |
| split | |||
| ) | [inline] |
Definition at line 124 of file Third Party Tech/TBB/tbb30_20100406oss_win/tbb30_20100406oss/include/tbb/partitioner.h.
References num_chunks.
{
num_chunks = pt.num_chunks /= 2u;
}
Definition at line 118 of file Include/tbb/partitioner.h.
References tbb::task::is_stolen_task(), num_chunks, and VICTIM_CHUNKS.
{
if( num_chunks<VICTIM_CHUNKS && t.is_stolen_task() )
num_chunks = VICTIM_CHUNKS;
return num_chunks==1;
}
Definition at line 118 of file Third Party Tech/TBB/tbb30_20100406oss_win/tbb30_20100406oss/include/tbb/partitioner.h.
References tbb::task::is_stolen_task(), num_chunks, and VICTIM_CHUNKS.
{
if( num_chunks<VICTIM_CHUNKS && t.is_stolen_task() )
num_chunks = VICTIM_CHUNKS;
return num_chunks==1;
}
size_t tbb::auto_partitioner::partition_type::num_chunks [private] |
Definition at line 115 of file Include/tbb/partitioner.h.
Referenced by partition_type(), and should_execute_range().
static const size_t tbb::auto_partitioner::partition_type::VICTIM_CHUNKS = 4 [static, private] |
Definition at line 116 of file Include/tbb/partitioner.h.
Referenced by should_execute_range().
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.