0.03/0.10 WORST_CASE(?,O(1)) 0.03/0.10 0.03/0.10 Preprocessing Cost Relations 0.03/0.10 ===================================== 0.03/0.10 0.03/0.10 #### Computed strongly connected components 0.03/0.10 0. non_recursive : [f12/2] 0.03/0.10 1. recursive : [f5/3] 0.03/0.10 2. non_recursive : [exit_location/1] 0.03/0.10 3. non_recursive : [f5_loop_cont/3] 0.03/0.10 4. non_recursive : [f0/2] 0.03/0.10 0.03/0.10 #### Obtained direct recursion through partial evaluation 0.03/0.10 0. SCC is completely evaluated into other SCCs 0.03/0.10 1. SCC is partially evaluated into f5/3 0.03/0.10 2. SCC is completely evaluated into other SCCs 0.03/0.10 3. SCC is partially evaluated into f5_loop_cont/3 0.03/0.10 4. SCC is partially evaluated into f0/2 0.03/0.10 0.03/0.10 Control-Flow Refinement of Cost Relations 0.03/0.10 ===================================== 0.03/0.10 0.03/0.10 ### Specialization of cost equations f5/3 0.03/0.10 * CE 5 is refined into CE [8] 0.03/0.10 * CE 4 is refined into CE [9] 0.03/0.10 * CE 3 is refined into CE [10] 0.03/0.10 0.03/0.10 0.03/0.10 ### Cost equations --> "Loop" of f5/3 0.03/0.10 * CEs [10] --> Loop 7 0.03/0.10 * CEs [8] --> Loop 8 0.03/0.10 * CEs [9] --> Loop 9 0.03/0.10 0.03/0.10 ### Ranking functions of CR f5(A,C,D) 0.03/0.10 * RF of phase [7]: [-A+20] 0.03/0.10 0.03/0.10 #### Partial ranking functions of CR f5(A,C,D) 0.03/0.10 * Partial RF of phase [7]: 0.03/0.10 - RF of loop [7:1]: 0.03/0.10 -A+20 0.03/0.10 0.03/0.10 0.03/0.10 ### Specialization of cost equations f5_loop_cont/3 0.03/0.10 * CE 7 is refined into CE [11] 0.03/0.10 * CE 6 is refined into CE [12] 0.03/0.10 0.03/0.10 0.03/0.10 ### Cost equations --> "Loop" of f5_loop_cont/3 0.03/0.10 * CEs [11] --> Loop 10 0.03/0.10 * CEs [12] --> Loop 11 0.03/0.10 0.03/0.10 ### Ranking functions of CR f5_loop_cont(A,B,C) 0.03/0.10 0.03/0.10 #### Partial ranking functions of CR f5_loop_cont(A,B,C) 0.03/0.10 0.03/0.10 0.03/0.10 ### Specialization of cost equations f0/2 0.03/0.10 * CE 1 is refined into CE [13] 0.03/0.10 * CE 2 is refined into CE [14,15,16,17] 0.03/0.10 0.03/0.10 0.03/0.10 ### Cost equations --> "Loop" of f0/2 0.03/0.10 * CEs [13,14,15,16,17] --> Loop 12 0.03/0.10 0.03/0.10 ### Ranking functions of CR f0(A,C) 0.03/0.10 0.03/0.10 #### Partial ranking functions of CR f0(A,C) 0.03/0.10 0.03/0.10 0.03/0.10 Computing Bounds 0.03/0.10 ===================================== 0.03/0.10 0.03/0.10 #### Cost of chains of f5(A,C,D): 0.03/0.10 * Chain [[7],9]: 1*it(7)+0 0.03/0.10 Such that:it(7) =< -A+20 0.03/0.10 0.03/0.10 with precondition: [C=2,D=20,19>=A,A>=1] 0.03/0.10 0.03/0.10 * Chain [[7],8]: 1*it(7)+0 0.03/0.10 Such that:it(7) =< -A+20 0.03/0.10 0.03/0.10 with precondition: [C=3,19>=A,A>=1] 0.03/0.10 0.03/0.10 * Chain [9]: 0 0.03/0.10 with precondition: [C=2,A=D,A>=20] 0.03/0.10 0.03/0.10 * Chain [8]: 0 0.03/0.10 with precondition: [C=3,A>=1] 0.03/0.10 0.03/0.10 0.03/0.10 #### Cost of chains of f5_loop_cont(A,B,C): 0.03/0.10 * Chain [11]: 0 0.03/0.10 with precondition: [A=2] 0.03/0.10 0.03/0.10 * Chain [10]: 0 0.03/0.10 with precondition: [A=3] 0.03/0.10 0.03/0.10 0.03/0.10 #### Cost of chains of f0(A,C): 0.03/0.10 * Chain [12]: 38 0.03/0.10 with precondition: [] 0.03/0.10 0.03/0.10 0.03/0.10 Closed-form bounds of f0(A,C): 0.03/0.10 ------------------------------------- 0.03/0.10 * Chain [12] with precondition: [] 0.03/0.10 - Upper bound: 38 0.03/0.10 - Complexity: constant 0.03/0.10 0.03/0.10 ### Maximum cost of f0(A,C): 38 0.03/0.10 Asymptotic class: constant 0.03/0.10 * Total analysis performed in 48 ms. 0.03/0.10 0.03/0.21 EOF