> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ansys::dpf::RuntimeCoreConfig Class Reference

`#include <dpf_api.h>`

Inherits ansys::dpf::RuntimeConfig.

## Public Member Functions

| Type | Name |
| - | - |
| | **RuntimeCoreConfig** ([RuntimeCoreConfig](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1RuntimeCoreConfig.md) const \&rhs) |
| | **RuntimeCoreConfig** ([RuntimeCoreConfig](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/classansys_1_1dpf_1_1RuntimeCoreConfig.md) &\&rhs) noexcept |
| void | [setNumberOfThreadsToUse](#af02bd1ff8d573d83cecefcdd647f0a0b) (int num\_threads) |
| int | [getNumberOfThreadsToUse](#a4ae882d7ed1e89ad3d03a761f6f485c1) () const |

## Detailed Description

enables to set runtime configuration options to the DPF process (DataProcessingCore).

## Member Function Documentation

### getNumberOfThreadsToUse()

```cpp theme={null}
int ansys::dpf::RuntimeCoreConfig::getNumberOfThreadsToUse() const
```

**Returns**

The default number of threads to use for all operators.

### setNumberOfThreadsToUse()

```cpp theme={null}
void ansys::dpf::RuntimeCoreConfig::setNumberOfThreadsToUse(int num_threads)
```

Sets the default number of threads to use for all operators, default is omp\_get\_num\_threads.
