• Home
  • Raw
  • Download

Lines Matching refs:current_thread

72 static Int current_thread=0;  variable
157 if (bbv_thread[current_thread].dyn_instr > interval_size) { in handle_overflow()
162 if (bbv_thread[current_thread].bbtrace_fp == NULL) { in handle_overflow()
163 bbv_thread[current_thread].bbtrace_fp=open_tracefile(current_thread); in handle_overflow()
168 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, "T"); in handle_overflow()
172 if ( bb_elem->inst_counter[current_thread] != 0 ) { in handle_overflow()
173 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, ":%d:%d ", in handle_overflow()
175 bb_elem->inst_counter[current_thread]); in handle_overflow()
176 bb_elem->inst_counter[current_thread] = 0; in handle_overflow()
180 VG_(fprintf)(bbv_thread[current_thread].bbtrace_fp, "\n"); in handle_overflow()
183 bbv_thread[current_thread].dyn_instr -= interval_size; in handle_overflow()
190 bbv_thread[current_thread].global_rep_count+=bbv_thread[current_thread].rep_count; in close_out_reps()
191 bbv_thread[current_thread].unique_rep_count++; in close_out_reps()
192 bbv_thread[current_thread].rep_count=0; in close_out_reps()
203 if (bbv_thread[current_thread].rep_count) { in per_instruction_BBV()
208 bbInfo->inst_counter[current_thread]+=n_instrs; in per_instruction_BBV()
210 bbv_thread[current_thread].total_instr+=n_instrs; in per_instruction_BBV()
211 bbv_thread[current_thread].dyn_instr +=n_instrs; in per_instruction_BBV()
220 if (bbv_thread[current_thread].last_rep_addr!=addr) { in per_instruction_BBV_rep()
221 if (bbv_thread[current_thread].rep_count) { in per_instruction_BBV_rep()
223 bbv_thread[current_thread].total_instr++; in per_instruction_BBV_rep()
224 bbv_thread[current_thread].dyn_instr++; in per_instruction_BBV_rep()
226 bbv_thread[current_thread].last_rep_addr=addr; in per_instruction_BBV_rep()
229 bbv_thread[current_thread].rep_count++; in per_instruction_BBV_rep()
241 if (bbv_thread[current_thread].rep_count) { in per_instruction_BBV_fldcw()
247 bbv_thread[current_thread].fldcw_count++; in per_instruction_BBV_fldcw()
249 bbInfo->inst_counter[current_thread]+=n_instrs; in per_instruction_BBV_fldcw()
251 bbv_thread[current_thread].total_instr+=n_instrs; in per_instruction_BBV_fldcw()
252 bbv_thread[current_thread].dyn_instr +=n_instrs; in per_instruction_BBV_fldcw()
501 current_thread=tid; in bbv_thread_called()