summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/core_timing.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index 0ed6f9b19..3ca265b4f 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -13,8 +13,6 @@
#include "common/thread.h"
#include "core/core_timing_util.h"
-#pragma optoimize("", off)
-
namespace Core::Timing {
constexpr int MAX_SLICE_LENGTH = 10000;
@@ -222,6 +220,7 @@ void CoreTiming::ResetRun() {
}
void CoreTiming::Idle() {
+ accumulated_ticks += downcounts[current_context];
idled_cycles += downcounts[current_context];
downcounts[current_context] = 0;
}