Core Timing: Correct Idle and remove lefting pragma

This commit is contained in:
Fernando Sahmkow authored and FernandoS27 committed 2019-10-09 12:30:33 -04:00
1 parent e96ac0e2a3
commit f2f4a797ee
1 file changed
+1 -2
+1 -2
View File
@@ -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;
}