RESPOND 2.5.1
Researching Effective Strategies to Prevent Opioid Death
Loading...
Searching...
No Matches
respond::ExecutionConfig Struct Reference

Controls how a Simulation distributes execution resources.

#include <execution_config.hpp>

Public Attributes

unsigned int total_threads = 0
 Total worker threads available for concurrent model execution. A value of 0 selects the implementation's automatic default.
 
unsigned int eigen_threads = 1
 Eigen worker threads used within a model. Use 1 when models are executed concurrently to avoid oversubscription.
 
bool run_models_concurrently = false
 Whether models may be executed concurrently by the simulation. When multiple models actually run in parallel, eigen_threads must be 1 or less because Eigen's worker setting is process-global.
 

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