0.07/0.16 WORST_CASE(?,O(1)) 0.07/0.16 0.07/0.16 Preprocessing Cost Relations 0.07/0.16 ===================================== 0.07/0.16 0.07/0.16 #### Computed strongly connected components 0.07/0.16 0. recursive : [eval_foo_1/3,eval_foo_2/4,eval_foo_LeafBlock10_in/4,eval_foo_LeafBlock6_in/4,eval_foo_LeafBlock8_in/4,eval_foo_LeafBlock_in/4,eval_foo_NewDefault_in/4,eval_foo_NodeBlock12_in/4,eval_foo_NodeBlock14_in/4,eval_foo_NodeBlock_in/4,eval_foo_bb1_in/2,eval_foo_bb2_in/2,eval_foo_bb3_in/4,eval_foo_bb4_in/4,eval_foo_bb5_in/4,eval_foo_bb6_in/4,eval_foo_bb7_in/4] 0.07/0.16 1. non_recursive : [eval_foo_stop/1] 0.07/0.16 2. non_recursive : [eval_foo_bb8_in/1] 0.07/0.16 3. non_recursive : [eval_foo_bb1_in_loop_cont/2] 0.07/0.16 4. non_recursive : [eval_foo_bb0_in/1] 0.07/0.16 5. non_recursive : [eval_foo_start/6] 0.07/0.16 0.07/0.16 #### Obtained direct recursion through partial evaluation 0.07/0.16 0. SCC is partially evaluated into eval_foo_bb1_in/2 0.07/0.16 1. SCC is completely evaluated into other SCCs 0.07/0.16 2. SCC is completely evaluated into other SCCs 0.07/0.16 3. SCC is completely evaluated into other SCCs 0.07/0.16 4. SCC is partially evaluated into eval_foo_bb0_in/1 0.07/0.16 5. SCC is partially evaluated into eval_foo_start/6 0.07/0.16 0.07/0.16 Control-Flow Refinement of Cost Relations 0.07/0.16 ===================================== 0.07/0.16 0.07/0.16 ### Specialization of cost equations eval_foo_bb1_in/2 0.07/0.16 * CE 4 is refined into CE [5] 0.07/0.16 * CE 3 is refined into CE [6] 0.07/0.16 0.07/0.16 0.07/0.16 ### Cost equations --> "Loop" of eval_foo_bb1_in/2 0.07/0.16 * CEs [6] --> Loop 5 0.07/0.16 * CEs [5] --> Loop 6 0.07/0.16 0.07/0.16 ### Ranking functions of CR eval_foo_bb1_in(V__05,B) 0.07/0.16 * RF of phase [5]: [-V__05+10] 0.07/0.16 0.07/0.16 #### Partial ranking functions of CR eval_foo_bb1_in(V__05,B) 0.07/0.16 * Partial RF of phase [5]: 0.07/0.16 - RF of loop [5:1]: 0.07/0.16 -V__05+10 0.07/0.16 0.07/0.16 0.07/0.16 ### Specialization of cost equations eval_foo_bb0_in/1 0.07/0.16 * CE 2 is refined into CE [7] 0.07/0.16 0.07/0.16 0.07/0.16 ### Cost equations --> "Loop" of eval_foo_bb0_in/1 0.07/0.16 * CEs [7] --> Loop 7 0.07/0.16 0.07/0.16 ### Ranking functions of CR eval_foo_bb0_in(B) 0.07/0.16 0.07/0.16 #### Partial ranking functions of CR eval_foo_bb0_in(B) 0.07/0.16 0.07/0.16 0.07/0.16 ### Specialization of cost equations eval_foo_start/6 0.07/0.16 * CE 1 is refined into CE [8] 0.07/0.16 0.07/0.16 0.07/0.16 ### Cost equations --> "Loop" of eval_foo_start/6 0.07/0.16 * CEs [8] --> Loop 8 0.07/0.16 0.07/0.16 ### Ranking functions of CR eval_foo_start(V_x,V_y,V_i,V_r,V_N,B) 0.07/0.16 0.07/0.16 #### Partial ranking functions of CR eval_foo_start(V_x,V_y,V_i,V_r,V_N,B) 0.07/0.16 0.07/0.16 0.07/0.16 Computing Bounds 0.07/0.16 ===================================== 0.07/0.16 0.07/0.16 #### Cost of chains of eval_foo_bb1_in(V__05,B): 0.07/0.16 * Chain [[5],6]: 1*it(5)+0 0.07/0.16 Such that:it(5) =< -V__05+10 0.07/0.16 0.07/0.16 with precondition: [B=2,9>=V__05,V__05>=0] 0.07/0.16 0.07/0.16 0.07/0.16 #### Cost of chains of eval_foo_bb0_in(B): 0.07/0.16 * Chain [7]: 1*s(1)+0 0.07/0.16 Such that:s(1) =< 10 0.07/0.16 0.07/0.16 with precondition: [] 0.07/0.16 0.07/0.16 0.07/0.16 #### Cost of chains of eval_foo_start(V_x,V_y,V_i,V_r,V_N,B): 0.07/0.16 * Chain [8]: 1*s(2)+0 0.07/0.16 Such that:s(2) =< 10 0.07/0.16 0.07/0.16 with precondition: [] 0.07/0.16 0.07/0.16 0.07/0.16 Closed-form bounds of eval_foo_start(V_x,V_y,V_i,V_r,V_N,B): 0.07/0.16 ------------------------------------- 0.07/0.16 * Chain [8] with precondition: [] 0.07/0.16 - Upper bound: 10 0.07/0.16 - Complexity: constant 0.07/0.16 0.07/0.16 ### Maximum cost of eval_foo_start(V_x,V_y,V_i,V_r,V_N,B): 10 0.07/0.16 Asymptotic class: constant 0.07/0.16 * Total analysis performed in 74 ms. 0.07/0.16 0.07/0.26 EOF