![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Configuration procedures for TestBase methods.
More...
Classes | |
| interface | Configurator |
| Function to adapts a given target configuration. More... | |
Static Public Member Functions | |
| static boolean | disableThreading (TargetConfig config) |
| Configure the given test to use single-threaded execution. | |
| static boolean | makeFlexPRETCompatible (TargetConfig config) |
| static boolean | makeFlexPRETCompatibleUnthreaded (TargetConfig config) |
| static boolean | makePatmosCompatible (TargetConfig config) |
| static boolean | makePatmosCompatibleUnthreaded (TargetConfig config) |
| static boolean | makeZephyrCompatible (TargetConfig config) |
| static boolean | makeZephyrCompatibleUnthreaded (TargetConfig config) |
| static boolean | noChanges (TargetConfig config) |
| Make no changes to the configuration. | |
Configuration procedures for TestBase methods.
|
static |
Configure the given test to use single-threaded execution.
For targets that provide a threaded and an unthreaded runtime, this configures using the unthreaded runtime. For targets that do not distinguish threaded and unthreaded runtime, the number of workers is set to 1.
| config | The target configuration to alter. |
|
static |
FlexPRET has a maximum of eight hardware threads; override the chosen number of worker threads to be 0 (meaning run-time selects it).
This is to avoid failing tests that have e.g., workers: 16.
|
static |
|
static |
Patmos has a maximum of eight hardware threads; override the chosen number of worker threads to be 0 (meaning run-time selects it).
This is to avoid failing tests that have e.g., workers: 16.
|
static |
|
static |
|
static |
|
static |
Make no changes to the configuration.
| config | The target configuration. |