STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Concurrency::auto_partitioner Class Reference

The auto_partitioner class represents the default method parallel_for, parallel_for_each and parallel_transform use to partition the range they iterates over. This method of partitioning employes range stealing for load balancing as well as per-iterate cancellation. More...

#include <ppl.h>

Public Member Functions

 auto_partitioner ()
 Constructs a auto_partitioner object. More...
 
 ~auto_partitioner ()
 Destroys a auto_partitioner object. More...
 
template<class _Type >
_Type _Get_num_chunks (_Type) const
 

Detailed Description

The auto_partitioner class represents the default method parallel_for, parallel_for_each and parallel_transform use to partition the range they iterates over. This method of partitioning employes range stealing for load balancing as well as per-iterate cancellation.

Constructor & Destructor Documentation

Concurrency::auto_partitioner::auto_partitioner ( )
inline

Constructs a auto_partitioner object.

1621 {}
Concurrency::auto_partitioner::~auto_partitioner ( )
inline

Destroys a auto_partitioner object.

1627 {}

Member Function Documentation

template<class _Type >
_Type Concurrency::auto_partitioner::_Get_num_chunks ( _Type  ) const
inline
1631  {
1633  }
static _CONCRTIMP unsigned int __cdecl _GetNumberOfVirtualProcessors()

The documentation for this class was generated from the following file: