• Home
  • Raw
  • Download

Lines Matching refs:current_thread

74 static Int current_thread=0;  variable
167 if (bbv_thread[current_thread].dyn_instr > interval_size) { in handle_overflow()
172 if (bbv_thread[current_thread].bbtrace_fd < 0) { in handle_overflow()
173 bbv_thread[current_thread].bbtrace_fd=open_tracefile(current_thread); in handle_overflow()
178 VG_(write)(bbv_thread[current_thread].bbtrace_fd,"T",1); in handle_overflow()
182 if ( bb_elem->inst_counter[current_thread] != 0 ) { in handle_overflow()
185 bb_elem->inst_counter[current_thread]); in handle_overflow()
186 VG_(write)(bbv_thread[current_thread].bbtrace_fd, in handle_overflow()
188 bb_elem->inst_counter[current_thread] = 0; in handle_overflow()
192 VG_(write)(bbv_thread[current_thread].bbtrace_fd,"\n",1); in handle_overflow()
195 bbv_thread[current_thread].dyn_instr -= interval_size; in handle_overflow()
202 bbv_thread[current_thread].global_rep_count+=bbv_thread[current_thread].rep_count; in close_out_reps()
203 bbv_thread[current_thread].unique_rep_count++; in close_out_reps()
204 bbv_thread[current_thread].rep_count=0; in close_out_reps()
215 if (bbv_thread[current_thread].rep_count) { in per_instruction_BBV()
220 bbInfo->inst_counter[current_thread]+=n_instrs; in per_instruction_BBV()
222 bbv_thread[current_thread].total_instr+=n_instrs; in per_instruction_BBV()
223 bbv_thread[current_thread].dyn_instr +=n_instrs; in per_instruction_BBV()
232 if (bbv_thread[current_thread].last_rep_addr!=addr) { in per_instruction_BBV_rep()
233 if (bbv_thread[current_thread].rep_count) { in per_instruction_BBV_rep()
235 bbv_thread[current_thread].total_instr++; in per_instruction_BBV_rep()
236 bbv_thread[current_thread].dyn_instr++; in per_instruction_BBV_rep()
238 bbv_thread[current_thread].last_rep_addr=addr; in per_instruction_BBV_rep()
241 bbv_thread[current_thread].rep_count++; in per_instruction_BBV_rep()
253 if (bbv_thread[current_thread].rep_count) { in per_instruction_BBV_fldcw()
259 bbv_thread[current_thread].fldcw_count++; in per_instruction_BBV_fldcw()
261 bbInfo->inst_counter[current_thread]+=n_instrs; in per_instruction_BBV_fldcw()
263 bbv_thread[current_thread].total_instr+=n_instrs; in per_instruction_BBV_fldcw()
264 bbv_thread[current_thread].dyn_instr +=n_instrs; in per_instruction_BBV_fldcw()
511 current_thread=tid; in bbv_thread_called()