fosa_thread_id_t tid1, tid2;
int terror = 0;
+ // Print test header
+ printf("\n");
+ printf("This test checks the ability to make long jumps in MaRTE OS\n");
+ printf("A periodic workload consumes 1ms or 2ms (every 5 iterations)\n");
+ printf("The budget is set to 1.4ms; when exceeded, the operation is aborted\n");
+ printf("\n");
+
// set signal mask
set[0]=BUDGET_OVERRUN_SIGNAL;
if (fosa_set_accepted_signals(set, 1) !=0) {
fosa_signal_t signal_set[1];
fosa_thread_id_t periodic_tid;
+ // Print test header
+ printf("\n");
+ printf("This test checks the ability to make long jumps in FOSA\n");
+ printf("A periodic workload consumes 1ms or 7ms (every 5 iterations)\n");
+ printf("The budget is set to 1.4ms; when exceeded, the operation is aborted\n");
+ printf("\n");
+
memset(&context, 0, sizeof(context) );
memset(&periodic_attr, 0, sizeof(periodic_attr) );