From 371e31948fb3bc01359b24a7f325d3e1d149f98b Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Fri, 15 Mar 2019 17:20:52 +0100 Subject: Allow tracing of multiple stages in qtmips_cli. Signed-off-by: Pavel Pisa --- qtmips_cli/tracer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'qtmips_cli/tracer.cpp') diff --git a/qtmips_cli/tracer.cpp b/qtmips_cli/tracer.cpp index d575680..097842c 100644 --- a/qtmips_cli/tracer.cpp +++ b/qtmips_cli/tracer.cpp @@ -67,19 +67,19 @@ void Tracer::fetch() { } void Tracer::decode() { - CON_RAW(con_fetch, machine->core(), &Core::instruction_decoded, &Tracer::instruction_decode); + CON_RAW(con_decode, machine->core(), &Core::instruction_decoded, &Tracer::instruction_decode); } void Tracer::execute() { - CON_RAW(con_fetch, machine->core(), &Core::instruction_executed, &Tracer::instruction_execute); + CON_RAW(con_execute, machine->core(), &Core::instruction_executed, &Tracer::instruction_execute); } void Tracer::memory() { - CON_RAW(con_fetch, machine->core(), &Core::instruction_memory, &Tracer::instruction_memory); + CON_RAW(con_memory, machine->core(), &Core::instruction_memory, &Tracer::instruction_memory); } void Tracer::writeback() { - CON_RAW(con_fetch, machine->core(), &Core::instruction_writeback, &Tracer::instruction_writeback); + CON_RAW(con_writeback, machine->core(), &Core::instruction_writeback, &Tracer::instruction_writeback); } void Tracer::reg_pc() { -- cgit v1.2.3