/export/starexec/sandbox2/solver/bin/starexec_run_its /export/starexec/sandbox2/benchmark/theBenchmark.koat /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- WORST_CASE(?,O(n^1)) Preprocessing Cost Relations ===================================== #### Computed strongly connected components 0. recursive : [eval_wcet0_4/10,eval_wcet0_5/10,eval_wcet0_bb1_in/10,eval_wcet0_bb2_in/10,eval_wcet0_bb3_in/10,eval_wcet0_bb4_in/10] 1. non_recursive : [eval_wcet0_stop/6] 2. non_recursive : [eval_wcet0_bb5_in/6] 3. non_recursive : [exit_location/1] 4. non_recursive : [eval_wcet0_bb1_in_loop_cont/7] 5. non_recursive : [eval_wcet0_3/6] 6. non_recursive : [eval_wcet0_2/6] 7. non_recursive : [eval_wcet0_1/6] 8. non_recursive : [eval_wcet0_0/6] 9. non_recursive : [eval_wcet0_bb0_in/6] 10. non_recursive : [eval_wcet0_start/6] #### Obtained direct recursion through partial evaluation 0. SCC is partially evaluated into eval_wcet0_bb1_in/10 1. SCC is completely evaluated into other SCCs 2. SCC is completely evaluated into other SCCs 3. SCC is completely evaluated into other SCCs 4. SCC is partially evaluated into eval_wcet0_bb1_in_loop_cont/7 5. SCC is partially evaluated into eval_wcet0_3/6 6. SCC is completely evaluated into other SCCs 7. SCC is completely evaluated into other SCCs 8. SCC is completely evaluated into other SCCs 9. SCC is completely evaluated into other SCCs 10. SCC is partially evaluated into eval_wcet0_start/6 Control-Flow Refinement of Cost Relations ===================================== ### Specialization of cost equations eval_wcet0_bb1_in/10 * CE 11 is refined into CE [15] * CE 7 is refined into CE [16] * CE 6 is refined into CE [17] * CE 10 is refined into CE [18] * CE 12 is refined into CE [19] * CE 5 is refined into CE [20] * CE 9 is refined into CE [21] * CE 4 is discarded (unfeasible) * CE 8 is discarded (unfeasible) ### Cost equations --> "Loop" of eval_wcet0_bb1_in/10 * CEs [20] --> Loop 15 * CEs [21] --> Loop 16 * CEs [19] --> Loop 17 * CEs [15] --> Loop 18 * CEs [16] --> Loop 19 * CEs [18] --> Loop 20 * CEs [17] --> Loop 21 ### Ranking functions of CR eval_wcet0_bb1_in(V_1,V_i_0,V_j_0,V_j_3,V_n,B,C,D,E,F) * RF of phase [15,16]: [V_i_0-1] #### Partial ranking functions of CR eval_wcet0_bb1_in(V_1,V_i_0,V_j_0,V_j_3,V_n,B,C,D,E,F) * Partial RF of phase [15,16]: - RF of loop [15:1]: -V_j_0+V_n-1 depends on loops [16:1] - RF of loop [15:1,16:1]: V_i_0-1 - RF of loop [16:1]: V_j_0+V_n-1 depends on loops [15:1] ### Specialization of cost equations eval_wcet0_bb1_in_loop_cont/7 * CE 14 is refined into CE [22] * CE 13 is refined into CE [23] ### Cost equations --> "Loop" of eval_wcet0_bb1_in_loop_cont/7 * CEs [22] --> Loop 22 * CEs [23] --> Loop 23 ### Ranking functions of CR eval_wcet0_bb1_in_loop_cont(A,B,C,D,E,F,G) #### Partial ranking functions of CR eval_wcet0_bb1_in_loop_cont(A,B,C,D,E,F,G) ### Specialization of cost equations eval_wcet0_3/6 * CE 3 is refined into CE [24,25,26,27,28,29,30,31] * CE 2 is refined into CE [32] ### Cost equations --> "Loop" of eval_wcet0_3/6 * CEs [27,28,29,30,31] --> Loop 24 * CEs [26] --> Loop 25 * CEs [32] --> Loop 26 * CEs [24,25] --> Loop 27 ### Ranking functions of CR eval_wcet0_3(V_1,V_i_0,V_j_0,V_j_3,V_n,B) #### Partial ranking functions of CR eval_wcet0_3(V_1,V_i_0,V_j_0,V_j_3,V_n,B) ### Specialization of cost equations eval_wcet0_start/6 * CE 1 is refined into CE [33,34,35,36] ### Cost equations --> "Loop" of eval_wcet0_start/6 * CEs [36] --> Loop 28 * CEs [35] --> Loop 29 * CEs [34] --> Loop 30 * CEs [33] --> Loop 31 ### Ranking functions of CR eval_wcet0_start(V_1,V_i_0,V_j_0,V_j_3,V_n,B) #### Partial ranking functions of CR eval_wcet0_start(V_1,V_i_0,V_j_0,V_j_3,V_n,B) Computing Bounds ===================================== #### Cost of chains of eval_wcet0_bb1_in(V_1,V_i_0,V_j_0,V_j_3,V_n,B,C,D,E,F): * Chain [[15,16],21]: 2*it(15)+0 Such that:aux(7) =< V_i_0 it(15) =< aux(7) with precondition: [B=3,D=1,F=0,V_i_0+V_j_0=V_n,V_i_0+V_j_0=E+1,V_i_0>=2,V_j_0>=0,C>=1] * Chain [[15,16],20]: 2*it(15)+0 Such that:aux(8) =< V_i_0 it(15) =< aux(8) with precondition: [B=3,D=1,F=0,V_i_0=V_j_0+V_n,V_i_0+E=V_j_0+1,0>=V_j_0,0>=C,V_i_0>=2] * Chain [[15,16],19]: 2*it(15)+0 Such that:aux(9) =< V_i_0 it(15) =< aux(9) with precondition: [B=3,D=1,E+1=F,V_i_0>=2,C>=1,V_n>=V_i_0+V_j_0,V_j_0+V_n>=V_i_0,V_i_0+E>=V_j_0+1,V_i_0+V_j_0>=E+1,2*V_n>=V_i_0+V_j_0+E+3] * Chain [[15,16],18]: 2*it(15)+0 Such that:aux(10) =< V_i_0 it(15) =< aux(10) with precondition: [B=3,D=1,E=F+1,0>=C,V_i_0>=2,V_n>=V_i_0+V_j_0,V_j_0+V_n>=V_i_0,V_i_0+E>=V_j_0+1,V_i_0+V_j_0>=E+1,V_j_0+E+2*V_n>=V_i_0+3] * Chain [[15,16],17]: 2*it(15)+0 Such that:aux(11) =< V_i_0 it(15) =< aux(11) with precondition: [B=2,V_i_0>=2,V_n>=V_i_0+V_j_0,V_j_0+V_n>=V_i_0] * Chain [21]: 0 with precondition: [V_i_0=1,B=3,D=1,F=0,V_n=V_j_0+1,V_n=E+1,V_n>=1,C>=1] * Chain [20]: 0 with precondition: [V_i_0=1,B=3,D=1,F=0,V_j_0=E,V_j_0+V_n=1,0>=V_j_0,0>=C] * Chain [17]: 0 with precondition: [B=2,V_i_0>=1,V_n>=V_i_0+V_j_0,V_j_0+V_n>=V_i_0] #### Cost of chains of eval_wcet0_bb1_in_loop_cont(A,B,C,D,E,F,G): * Chain [23]: 0 with precondition: [A=2,F>=1] * Chain [22]: 0 with precondition: [A=3,F>=1] #### Cost of chains of eval_wcet0_3(V_1,V_i_0,V_j_0,V_j_3,V_n,B): * Chain [27]: 0 with precondition: [V_n=1] * Chain [26]: 0 with precondition: [0>=V_n] * Chain [25]: 0 with precondition: [V_n>=1] * Chain [24]: 10*s(2)+0 Such that:aux(12) =< V_n s(2) =< aux(12) with precondition: [V_n>=2] #### Cost of chains of eval_wcet0_start(V_1,V_i_0,V_j_0,V_j_3,V_n,B): * Chain [31]: 0 with precondition: [V_n=1] * Chain [30]: 0 with precondition: [0>=V_n] * Chain [29]: 0 with precondition: [V_n>=1] * Chain [28]: 10*s(12)+0 Such that:s(11) =< V_n s(12) =< s(11) with precondition: [V_n>=2] Closed-form bounds of eval_wcet0_start(V_1,V_i_0,V_j_0,V_j_3,V_n,B): ------------------------------------- * Chain [31] with precondition: [V_n=1] - Upper bound: 0 - Complexity: constant * Chain [30] with precondition: [0>=V_n] - Upper bound: 0 - Complexity: constant * Chain [29] with precondition: [V_n>=1] - Upper bound: 0 - Complexity: constant * Chain [28] with precondition: [V_n>=2] - Upper bound: 10*V_n - Complexity: n ### Maximum cost of eval_wcet0_start(V_1,V_i_0,V_j_0,V_j_3,V_n,B): nat(V_n)*10 Asymptotic class: n * Total analysis performed in 398 ms.