From f00cbd2997d28949209dd7ee6de6b0540836c539 Mon Sep 17 00:00:00 2001 From: folkert van heusden Date: Mon, 27 Mar 2023 19:43:02 +0200 Subject: [PATCH] TODO --- cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu.cpp b/cpu.cpp index 8d79475..fe1b45d 100644 --- a/cpu.cpp +++ b/cpu.cpp @@ -71,7 +71,7 @@ std::tuple cpu::get_mips_rel_speed() { uint64_t instr_count = get_instructions_executed_count(); - uint32_t t_diff = get_ms() - running_since; + uint32_t t_diff = get_ms() - running_since; // TODO fix this because we now implement WAIT where it sits idle double mips = instr_count / (1000.0 * t_diff);