--- upstream/dynamips-0.2.6-RC3/mips64_jit.c 2007/10/06 16:06:49 4 +++ upstream/dynamips-0.2.6-RC4/mips64_jit.c 2007/10/06 16:08:03 5 @@ -309,7 +309,7 @@ if (delay_slot != 2) block->mips_trans_pos++; -#if DEBUG_PERF_COUNTER +#if DEBUG_INSN_PERF_CNT mips64_inc_perf_counter(block); #endif @@ -696,6 +696,9 @@ if (unlikely(cpu->state != MIPS_CPU_RUNNING)) break; +#if DEBUG_BLOCK_PERF_CNT + cpu->perf_counter++; +#endif /* Handle virtual idle loop */ if (unlikely(cpu->pc == cpu->idle_pc)) { if (++cpu->idle_count == cpu->idle_max) {