![]() |
reactor-c 1.0
C Runtime for Lingua Franca
|
Struct representing the most common scheduler parameters. More...
#include <scheduler_instance.h>
Data Fields | |
| size_t * | num_reactions_per_level |
| An array of non-negative integers, where each element represents a reaction level. | |
| size_t | num_reactions_per_level_size |
| The size of the num_reactions_per_level array. | |
Struct representing the most common scheduler parameters.
| size_t* sched_params_t::num_reactions_per_level |
An array of non-negative integers, where each element represents a reaction level.
The reaction level is its index, and the value of the element represents the maximum number of reactions in the program for that level. For example, num_reactions_per_level = { 2, 3 } indicates that there will be a maximum of 2 reactions in the program with a level of 0, and a maximum of 3 reactions in the program with a level of 1. This element can be NULL.
| size_t sched_params_t::num_reactions_per_level_size |
The size of the num_reactions_per_level array.
If set, it should be the maximum level over all reactions in the program plus 1. If not set, DEFAULT_MAX_REACTION_LEVEL will be used.