Back to Aurora Vision Library Lite website
You are here: Start » System » Configuration » ControlParallelComputing
ControlParallelComputing
Header: | AVL.h |
---|---|
Namespace: | avl |
Enables or disables filters multithreading parallelization.
Syntax
void avl::ControlParallelComputing ( bool inIsEnabled, atl::Optional<int> inThreadCount, atl::Optional<int> inBlockTime, int& outThreadCount )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inIsEnabled | bool | True | When 'true' parallel computing is used. | ||
inThreadCount | Optional<int> | 1 - 128 | NIL | Requested number of threads. | |
inBlockTime | Optional<int> | NIL | Sets the number of milliseconds that a thread should wait, after completing the execution of a parallel region, before sleeping. | ||
outThreadCount | int& | Actually available number of threads. |