aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_cpu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-12 12:32:15 -0500
committerLioncash <mathew1800@gmail.com>2019-02-12 12:42:17 -0500
commit1d2de5c4b55417267702ddfbc6a5744a15494fc6 (patch)
treef53430f173796e92b2e3dfd2570ed6752d5e8f77 /src/core/core_cpu.cpp
parenta6452e772f1f03fab7c03e071a2ff1e6d7574fb0 (diff)
core_timing: Rename CoreTiming namespace to Core::Timing
Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace.
Diffstat (limited to 'src/core/core_cpu.cpp')
-rw-r--r--src/core/core_cpu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core_cpu.cpp b/src/core/core_cpu.cpp
index fffda8a996..452366250a 100644
--- a/src/core/core_cpu.cpp
+++ b/src/core/core_cpu.cpp
@@ -93,14 +93,14 @@ void Cpu::RunLoop(bool tight_loop) {
if (IsMainCore()) {
// TODO(Subv): Only let CoreTiming idle if all 4 cores are idling.
- CoreTiming::Idle();
- CoreTiming::Advance();
+ Timing::Idle();
+ Timing::Advance();
}
PrepareReschedule();
} else {
if (IsMainCore()) {
- CoreTiming::Advance();
+ Timing::Advance();
}
if (tight_loop) {