diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2010-03-03 05:39:35 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2010-04-03 03:15:10 +0200 |
commit | 417442592bb907693183cf8e4a5595c9b8e9f0d8 (patch) | |
tree | 013cbca8a01606e202453ff75ebdf393ae8e8cee | |
parent | 0a68961158c837a9ea45557cf5c962ada9776db3 (diff) |
Remove insn_count
It showed up pretty heavily on the execution profile. It's not
terribly useful anymore, let's just kill it.
-rw-r--r-- | emu.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -45,7 +45,6 @@ static u8 sb_banked[3]; static u8 irq_active, fiq_active; static u8 irq_enabled, fiq_enabled; -static u64 insn_count; static u32 cycle_count; static u32 line_count; static const u32 cycles_per_line = 1728; // 1728 for PAL, 1716 for NTSC @@ -158,7 +157,7 @@ static void print_state(void) { int i; - printf("\n[insn_count = %llu]\n", insn_count); + printf("\n"); printf(" SP R1 R2 R3 R4 BP SR PC CS NZSC DS SB IRQ FIQ\n"); for (i = 0; i < 8; i++) printf("%04x ", reg[i]); @@ -808,9 +807,7 @@ static void run_line(void) } step(); - insn_count++; if (cycle_count >= cycles_per_line) { -// printf("PING!\n"); cycle_count -= cycles_per_line; break; } |