Commit ed0dafbd authored by julien.delange's avatar julien.delange

fix error that made system not schedulable



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@1389 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent cd472d65
......@@ -602,6 +602,18 @@ package body Ocarina.Backends.MAST.Main is
Make_Literal
(New_Numeric_Value
(To_Milliseconds (Exec_Time (1)), 1, 10)));
else
MTN.Set_Best_Case_Execution_Time
(Operation,
Make_Literal
(New_Numeric_Value
(0, 1, 10)));
MTN.Set_Worst_Case_Execution_Time
(Operation,
Make_Literal
(New_Numeric_Value
(1, 1, 10)));
end if;
Append_Node_To_List (Operation, MTN.Declarations (MAST_File));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment