General: Setup yuzu threads' microprofile, naming and registry.

This commit is contained in:
Fernando Sahmkow 2020-02-25 11:12:46 -04:00
parent 63bd59669f
commit 9846f5822d
7 changed files with 25 additions and 9 deletions

View file

@ -44,7 +44,9 @@ EmuThread::EmuThread() = default;
EmuThread::~EmuThread() = default;
void EmuThread::run() {
MicroProfileOnThreadCreate("EmuThread");
std::string name = "yuzu:EmuControlThread";
MicroProfileOnThreadCreate(name.c_str());
Common::SetCurrentThreadName(name.c_str());
// Main process has been loaded. Make the context current to this thread and begin GPU and CPU
// execution.