reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
sched_params_t Struct Reference

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
 

Detailed Description

Struct representing the most common scheduler parameters.

Parameters
num_reactions_per_levelOptional. 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_sizeOptional. 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.

Field Documentation

◆ num_reactions_per_level

size_t* sched_params_t::num_reactions_per_level

◆ num_reactions_per_level_size

size_t sched_params_t::num_reactions_per_level_size

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