![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
#include <openswmm_engine.h>
Public Attributes | |
| int | logical_cpus |
| int | omp_max_threads |
| int | omp_available |
| int | perf_cores |
| int | kokkos_omp_threads |
Hardware / OpenMP thread limits as seen by the engine process. Lets a host show the user what [OPTIONS] THREADS can usefully be set to and why the effective count may differ from the request.
| int SWMM_ThreadInfo::kokkos_omp_threads |
Threads the Kokkos OpenMP 2D backend initialised with in this process; 0 = not initialised.
| int SWMM_ThreadInfo::logical_cpus |
Logical processors (SMT included); 0 if unknown.
| int SWMM_ThreadInfo::omp_available |
1 if the engine was built with OpenMP.
| int SWMM_ThreadInfo::omp_max_threads |
omp_get_max_threads() in this process. Lower than logical_cpus when OMP_NUM_THREADS / OMP_THREAD_LIMIT / CPU affinity limit the process. 1 without OpenMP.
| int SWMM_ThreadInfo::perf_cores |
macOS: logical CPUs on the performance cluster; 0 elsewhere / unknown.