reactor-c 1.0
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
 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.

Detailed Description

Struct representing the most common scheduler parameters.

Field Documentation

◆ num_reactions_per_level

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.

◆ num_reactions_per_level_size

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.


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