summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-09 00:29:30 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-09 18:30:33 +0200
commit96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9 (patch)
tree706160e2e9a3bb1fe415e4237430c64276742e58 /src
parentCore Timing: General corrections and added tests. (diff)
downloadyuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.tar
yuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.tar.gz
yuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.tar.bz2
yuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.tar.lz
yuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.tar.xz
yuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.tar.zst
yuzu-96f2b16356dfee3b4b1c75f8ef96d81e7923dfc9.zip
Diffstat (limited to 'src')
-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;
}