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

The static_partitioner class represents a static partitioning of the range iterated over by parallel_for. The partitioner divides the range into as many chunks as there are workers available to the underyling scheduler. More...

#include <ppl.h>

Public Member Functions

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

Detailed Description

The static_partitioner class represents a static partitioning of the range iterated over by parallel_for. The partitioner divides the range into as many chunks as there are workers available to the underyling scheduler.

Constructor & Destructor Documentation

Concurrency::static_partitioner::static_partitioner ( )
inline

Constructs a static_partitioner object.

1649  {
1650  }
Concurrency::static_partitioner::~static_partitioner ( )
inline

Destroys a static_partitioner object.

1656 {}

Member Function Documentation

template<class _Type >
_Type Concurrency::static_partitioner::_Get_num_chunks ( _Type  ) const
inline
1660  {
1662  }
static _CONCRTIMP unsigned int __cdecl _GetNumberOfVirtualProcessors()

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