RESPOND 2.5.1
Researching Effective Strategies to Prevent Opioid Death
Loading...
Searching...
No Matches
execution_config.hpp
1
2// File: execution_config.hpp //
3// Project: respond //
4// Created Date: 2026-09-22 //
5// Author: Matthew Carroll //
6// ----- //
7// Copyright (c) 2026 Syndemics Lab at Boston Medical Center //
9#ifndef RESPOND_EXECUTION_CONFIG_HPP_
10#define RESPOND_EXECUTION_CONFIG_HPP_
11
12namespace respond {
17 unsigned int total_threads = 0;
18
21 unsigned int eigen_threads = 1;
22
27};
28} // namespace respond
29
30#endif // RESPOND_EXECUTION_CONFIG_HPP_
Controls how a Simulation distributes execution resources.
Definition: execution_config.hpp:14
unsigned int total_threads
Total worker threads available for concurrent model execution. A value of 0 selects the implementatio...
Definition: execution_config.hpp:17
bool run_models_concurrently
Whether models may be executed concurrently by the simulation. When multiple models actually run in p...
Definition: execution_config.hpp:26
unsigned int eigen_threads
Eigen worker threads used within a model. Use 1 when models are executed concurrently to avoid oversu...
Definition: execution_config.hpp:21