STLdoc
STLdocumentation
|
The simple_partitioner
class represents a static partitioning of the range iterated over by parallel_for
. The partitioner divides the range into chunks such that each chunk has at least the number of iterations specified by the chunk size.
More...
#include <ppl.h>
Public Member Functions | |
simple_partitioner (_Size_type _Chunk_size) | |
Constructs a simple_partitioner object. More... | |
~simple_partitioner () | |
Destroys a simple_partitioner object. More... | |
template<class _Type > | |
_Type | _Get_num_chunks (_Type _Range_arg) const |
Private Types | |
typedef unsigned long long | _Size_type |
Private Attributes | |
_Size_type | _M_chunk_size |
The simple_partitioner
class represents a static partitioning of the range iterated over by parallel_for
. The partitioner divides the range into chunks such that each chunk has at least the number of iterations specified by the chunk size.
|
private |
|
inlineexplicit |
|
inline |
Destroys a simple_partitioner
object.
|
inline |
|
private |