| -- Scheduling time attributes of partition P1, P2 | End_To_End_Flow ( Type => regular, Name => module, External_Events => (Type => Periodic, -- Time slice type is periodic Name => module_input, Period => 1000.000, -- The cycle is 1000 μs Max_Jitter => 0.000, Phase => 0.000), Internal_Events => (Type => Regular, -- Scheduling time attributes of partition P1 Name => p1_out, Timing_Requirements => (Type => Hard_Global_Deadline, Deadline => 10000.000, Referenced_Event => module_input)), -- timer starts (Type => Regular, -- Attributes of Part.2 Name => p2_out, Timing_Requirements => (Type => Hard_Global_Deadline, Deadline => 10000.000, Referenced_Event => p1_out))),-- Start the time from the end of P1 Event_Handlers => −- Define the proces of time slice (Type => Activity, −- From the module to the partition P1 Input_Event => module_input, Output_Event => p1_out, Activity_Operation => p1, Activity_Server => p1_task),-- Executing the P1 task (Type => Activity, -- From partition P1 to partition P2 Input_Event => p1_out, Output_Event => p2_out, Activity_Operation => p2, Activity_Server => p2_task));-- Executing the P2 task |
|
|