Lines Matching refs:current_state
54 exec_state CLG_(current_state);
117 if (!CLG_(current_state).collect) return; in log_global_event()
121 CLG_(current_state).cost[ fullOffset(EG_BUS) ]++; in log_global_event()
123 if (CLG_(current_state).nonskipped) in log_global_event()
124 cost_Bus = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BUS); in log_global_event()
148 if (!CLG_(current_state).collect) return; in log_cond_branch()
152 if (CLG_(current_state).nonskipped) in log_cond_branch()
153 cost_Bc = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BC); in log_cond_branch()
158 CLG_(current_state).cost[ fullOffset_Bc ]++; in log_cond_branch()
161 CLG_(current_state).cost[ fullOffset_Bc+1 ]++; in log_cond_branch()
178 if (!CLG_(current_state).collect) return; in log_ind_branch()
182 if (CLG_(current_state).nonskipped) in log_ind_branch()
183 cost_Bi = CLG_(current_state).nonskipped->skipped + fullOffset(EG_BI); in log_ind_branch()
188 CLG_(current_state).cost[ fullOffset_Bi ]++; in log_ind_branch()
191 CLG_(current_state).cost[ fullOffset_Bi+1 ]++; in log_ind_branch()
1249 (UWord) &CLG_(current_state).jmps_passed, in CLG_()
1303 (UWord) &CLG_(current_state).jmps_passed, in CLG_()
1405 CLG_(current_state).cost ); in zero_thread_cost()
1413 t->lastdump_cost, CLG_(current_state).cost ); in zero_thread_cost()
1434 while(CLG_(current_state).sig !=0) in unwind_thread()
1435 CLG_(post_signal)(CLG_(current_tid),CLG_(current_state).sig); in unwind_thread()
1442 CLG_(init_exec_state)( &CLG_(current_state) ); in unwind_thread()
1449 CLG_(zero_cost)( CLG_(sets).full, CLG_(current_state).cost ); in zero_state_cost()
1509 ce->enter_cost, CLG_(current_state).cost ); in dump_state_of_thread_togdb()
1670 CLG_(current_state).collect = !CLG_(current_state).collect; in CLG_()
1672 CLG_(current_state).collect ? "ON" : "OFF"); in CLG_()
1731 CLG_(current_state).bbcc) { in CLG_()
1749 CLG_(current_state).cost[o] ++; in CLG_()
1750 CLG_(current_state).cost[o+1] += diff; in CLG_()
1751 if (!CLG_(current_state).bbcc->skipped) in CLG_()
1753 &(CLG_(current_state).bbcc->skipped)); in CLG_()
1754 CLG_(current_state).bbcc->skipped[o] ++; in CLG_()
1755 CLG_(current_state).bbcc->skipped[o+1] += diff; in CLG_()