summaryrefslogtreecommitdiff
path: root/src/core/core_timing.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-04-05 09:48:53 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:36:09 -0400
commit528b19a84287167d7699465e495b196d216b99db (patch)
treec3ac61644c1a11fd1cf5ceeb70d1c9f5d4a00aa3 /src/core/core_timing.cpp
parentDynarmic Interface: don't clear cache if JIT has not been created. (diff)
downloadyuzu-528b19a84287167d7699465e495b196d216b99db.tar.gz
yuzu-528b19a84287167d7699465e495b196d216b99db.tar.xz
yuzu-528b19a84287167d7699465e495b196d216b99db.zip
General: Tune the priority of main emulation threads so they have higher priority than less important helper threads.
Diffstat (limited to 'src/core/core_timing.cpp')
-rw-r--r--src/core/core_timing.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index b02119494..032b29e33 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -48,6 +48,7 @@ void CoreTiming::ThreadEntry(CoreTiming& instance) {
48 std::string name = "yuzu:HostTiming"; 48 std::string name = "yuzu:HostTiming";
49 MicroProfileOnThreadCreate(name.c_str()); 49 MicroProfileOnThreadCreate(name.c_str());
50 Common::SetCurrentThreadName(name.c_str()); 50 Common::SetCurrentThreadName(name.c_str());
51 Common::SetCurrentThreadPriority(Common::ThreadPriority::VeryHigh);
51 instance.on_thread_init(); 52 instance.on_thread_init();
52 instance.ThreadLoop(); 53 instance.ThreadLoop();
53} 54}