diff options
| author | 2020-03-19 13:09:32 -0400 | |
|---|---|---|
| committer | 2020-06-27 11:35:52 -0400 | |
| commit | f2ade343e2492c213ac93680a55e9bed712dac9a (patch) | |
| tree | 30bce0eb24a0b2b38310f07fa37c7ba881fc8535 /src/core/cpu_manager.h | |
| parent | GUI: Make multicore only work with Async and add GUI for multicore. (diff) | |
| download | yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.tar.gz yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.tar.xz yuzu-f2ade343e2492c213ac93680a55e9bed712dac9a.zip | |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h index 37cef2b12..e6b8612f0 100644 --- a/src/core/cpu_manager.h +++ b/src/core/cpu_manager.h | |||
| @@ -104,6 +104,7 @@ private: | |||
| 104 | bool is_multicore{}; | 104 | bool is_multicore{}; |
| 105 | std::atomic<std::size_t> current_core{}; | 105 | std::atomic<std::size_t> current_core{}; |
| 106 | std::size_t preemption_count{}; | 106 | std::size_t preemption_count{}; |
| 107 | std::size_t idle_count{}; | ||
| 107 | static constexpr std::size_t max_cycle_runs = 5; | 108 | static constexpr std::size_t max_cycle_runs = 5; |
| 108 | Core::Frontend::EmuWindow* render_window; | 109 | Core::Frontend::EmuWindow* render_window; |
| 109 | 110 | ||