Provides information about computational environment.
More...
Set
- Parameters
-
[in] | enable | An enabling flag |
- Returns
- CPU ID
static void enableThreadPinning |
( |
boolean |
enableThreadPinningFlag | ) |
|
|
static |
Enables thread pinning
- Parameters
-
enableThreadPinningFlag | Flag to thread pinning enable |
Detects the processor type
- Parameters
-
[in] | enable | An enabling flag |
- Returns
- The CPU ID
static int getNumberOfThreads |
( |
| ) |
|
|
static |
Returns number of threads used by the application
- Returns
- Number of threads
static int setCpuId |
( |
CpuType |
cpuid | ) |
|
|
static |
Set the processor type
- Parameters
-
- Returns
- CPU ID if success; -1 if error
static void setNumberOfThreads |
( |
int |
numThreads | ) |
|
|
static |
Sets the number of threads to be used in the application
- Parameters
-
numThreads | The number of threads to set |
The documentation for this class was generated from the following file: