reactor-c
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 |
size_t | num_reactions_per_level_size |
Struct representing the most common scheduler parameters.
num_reactions_per_level | Optional. Default: NULL. An array of non-negative integers, where each element represents a reaction level (corresponding to the 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. Can be NULL. |
num_reactions_per_level_size | Optional. The size of the num_reactions_per_level array if it is not NULL. 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. |
size_t* sched_params_t::num_reactions_per_level |
size_t sched_params_t::num_reactions_per_level_size |