diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-12 22:31:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-12 22:31:55 -0400 |
| commit | fecffeb0ddedeef0f6223e8a2c53cca3baac70ad (patch) | |
| tree | ebd7cbbb35fd07e34f6397cde76027533d7200f4 /src/core/core_cpu.cpp | |
| parent | 9608f51cdee2dd1d2bb493b02b109b1b280dfc28 (diff) | |
| parent | d9237660429adaa9f549d10e79252a713f1da874 (diff) | |
Merge pull request #1043 from Subv/timing
Use an approximated amortized amount of ticks when advancing timing.
Diffstat (limited to 'src/core/core_cpu.cpp')
| -rw-r--r-- | src/core/core_cpu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp index 9b306faf6..b042ee02b 100644 --- a/src/core/core_cpu.cpp +++ b/src/core/core_cpu.cpp @@ -91,6 +91,7 @@ void Cpu::RunLoop(bool tight_loop) { LOG_TRACE(Core, "Core-{} idling", core_index); if (IsMainCore()) { + // TODO(Subv): Only let CoreTiming idle if all 4 cores are idling. CoreTiming::Idle(); CoreTiming::Advance(); } |
