aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-19 13:09:32 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:52 -0400
commitf2ade343e2492c213ac93680a55e9bed712dac9a (patch)
tree30bce0eb24a0b2b38310f07fa37c7ba881fc8535 /src/core/cpu_manager.h
parent5d3a2be04f265c2d6a8687431593029f7329060f (diff)
SingleCore: Move Host Timing from a sepparate thread to main cpu thread.
Diffstat (limited to 'src/core/cpu_manager.h')
-rw-r--r--src/core/cpu_manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h
index 37cef2b122..e6b8612f0e 100644
--- a/src/core/cpu_manager.h
+++ b/src/core/cpu_manager.h
@@ -104,6 +104,7 @@ private:
bool is_multicore{};
std::atomic<std::size_t> current_core{};
std::size_t preemption_count{};
+ std::size_t idle_count{};
static constexpr std::size_t max_cycle_runs = 5;
Core::Frontend::EmuWindow* render_window;