diff options
| author | 2022-10-03 18:43:56 -0400 | |
|---|---|---|
| committer | 2022-10-03 18:43:56 -0400 | |
| commit | 35d3e7db2a0413a921e0846a3d76f9d9f36a2500 (patch) | |
| tree | 12f749fe914b16cbc0a8b424c1738495b4c154b7 /src/core | |
| parent | Merge pull request #8955 from german77/amiibo-rewrite (diff) | |
| download | yuzu-35d3e7db2a0413a921e0846a3d76f9d9f36a2500.tar.gz yuzu-35d3e7db2a0413a921e0846a3d76f9d9f36a2500.tar.xz yuzu-35d3e7db2a0413a921e0846a3d76f9d9f36a2500.zip | |
common: remove "yuzu:" prefix from thread names
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/core_timing.cpp | 2 | ||||
| -rw-r--r-- | src/core/cpu_manager.cpp | 4 | ||||
| -rw-r--r-- | src/core/debugger/debugger.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/k_worker_task_manager.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/kernel.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/kernel/service_thread.cpp | 2 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index f6c4567ba..6c0fcb7b5 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp | |||
| @@ -43,7 +43,7 @@ CoreTiming::CoreTiming() | |||
| 43 | CoreTiming::~CoreTiming() = default; | 43 | CoreTiming::~CoreTiming() = default; |
| 44 | 44 | ||
| 45 | void CoreTiming::ThreadEntry(CoreTiming& instance) { | 45 | void CoreTiming::ThreadEntry(CoreTiming& instance) { |
| 46 | constexpr char name[] = "yuzu:HostTiming"; | 46 | constexpr char name[] = "HostTiming"; |
| 47 | MicroProfileOnThreadCreate(name); | 47 | MicroProfileOnThreadCreate(name); |
| 48 | Common::SetCurrentThreadName(name); | 48 | Common::SetCurrentThreadName(name); |
| 49 | Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); | 49 | Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical); |
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp index 9b1565ae1..0dd4c2196 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp | |||
| @@ -189,9 +189,9 @@ void CpuManager::RunThread(std::size_t core) { | |||
| 189 | system.RegisterCoreThread(core); | 189 | system.RegisterCoreThread(core); |
| 190 | std::string name; | 190 | std::string name; |
| 191 | if (is_multicore) { | 191 | if (is_multicore) { |
| 192 | name = "yuzu:CPUCore_" + std::to_string(core); | 192 | name = "CPUCore_" + std::to_string(core); |
| 193 | } else { | 193 | } else { |
| 194 | name = "yuzu:CPUThread"; | 194 | name = "CPUThread"; |
| 195 | } | 195 | } |
| 196 | MicroProfileOnThreadCreate(name.c_str()); | 196 | MicroProfileOnThreadCreate(name.c_str()); |
| 197 | Common::SetCurrentThreadName(name.c_str()); | 197 | Common::SetCurrentThreadName(name.c_str()); |
diff --git a/src/core/debugger/debugger.cpp b/src/core/debugger/debugger.cpp index e42bdd17d..339f971e6 100644 --- a/src/core/debugger/debugger.cpp +++ b/src/core/debugger/debugger.cpp | |||
| @@ -140,7 +140,7 @@ private: | |||
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | void ThreadLoop(std::stop_token stop_token) { | 142 | void ThreadLoop(std::stop_token stop_token) { |
| 143 | Common::SetCurrentThreadName("yuzu:Debugger"); | 143 | Common::SetCurrentThreadName("Debugger"); |
| 144 | 144 | ||
| 145 | // Set up the client signals for new data. | 145 | // Set up the client signals for new data. |
| 146 | AsyncReceiveInto(signal_pipe, pipe_data, [&](auto d) { PipeData(d); }); | 146 | AsyncReceiveInto(signal_pipe, pipe_data, [&](auto d) { PipeData(d); }); |
diff --git a/src/core/hle/kernel/k_worker_task_manager.cpp b/src/core/hle/kernel/k_worker_task_manager.cpp index 221f341ee..04042bf8f 100644 --- a/src/core/hle/kernel/k_worker_task_manager.cpp +++ b/src/core/hle/kernel/k_worker_task_manager.cpp | |||
| @@ -23,7 +23,7 @@ void KWorkerTask::DoWorkerTask() { | |||
| 23 | } | 23 | } |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | KWorkerTaskManager::KWorkerTaskManager() : m_waiting_thread(1, "yuzu:KWorkerTaskManager") {} | 26 | KWorkerTaskManager::KWorkerTaskManager() : m_waiting_thread(1, "KWorkerTaskManager") {} |
| 27 | 27 | ||
| 28 | void KWorkerTaskManager::AddTask(KernelCore& kernel, WorkerType type, KWorkerTask* task) { | 28 | void KWorkerTaskManager::AddTask(KernelCore& kernel, WorkerType type, KWorkerTask* task) { |
| 29 | ASSERT(type <= WorkerType::Count); | 29 | ASSERT(type <= WorkerType::Count); |
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index ce7fa8275..9251f29ad 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp | |||
| @@ -48,7 +48,7 @@ namespace Kernel { | |||
| 48 | struct KernelCore::Impl { | 48 | struct KernelCore::Impl { |
| 49 | explicit Impl(Core::System& system_, KernelCore& kernel_) | 49 | explicit Impl(Core::System& system_, KernelCore& kernel_) |
| 50 | : time_manager{system_}, | 50 | : time_manager{system_}, |
| 51 | service_threads_manager{1, "yuzu:ServiceThreadsManager"}, system{system_} {} | 51 | service_threads_manager{1, "ServiceThreadsManager"}, system{system_} {} |
| 52 | 52 | ||
| 53 | void SetMulticore(bool is_multi) { | 53 | void SetMulticore(bool is_multi) { |
| 54 | is_multicore = is_multi; | 54 | is_multicore = is_multi; |
diff --git a/src/core/hle/kernel/service_thread.cpp b/src/core/hle/kernel/service_thread.cpp index 2e87b4ea4..d23d76706 100644 --- a/src/core/hle/kernel/service_thread.cpp +++ b/src/core/hle/kernel/service_thread.cpp | |||
| @@ -36,7 +36,7 @@ ServiceThread::Impl::Impl(KernelCore& kernel, std::size_t num_threads, const std | |||
| 36 | : service_name{name} { | 36 | : service_name{name} { |
| 37 | for (std::size_t i = 0; i < num_threads; ++i) { | 37 | for (std::size_t i = 0; i < num_threads; ++i) { |
| 38 | threads.emplace_back([this, &kernel](std::stop_token stop_token) { | 38 | threads.emplace_back([this, &kernel](std::stop_token stop_token) { |
| 39 | Common::SetCurrentThreadName(std::string{"yuzu:HleService:" + service_name}.c_str()); | 39 | Common::SetCurrentThreadName(std::string{service_name}.c_str()); |
| 40 | 40 | ||
| 41 | // Wait for first request before trying to acquire a render context | 41 | // Wait for first request before trying to acquire a render context |
| 42 | { | 42 | { |
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 93057e800..4246e5e25 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp | |||
| @@ -31,7 +31,7 @@ constexpr auto frame_ns = std::chrono::nanoseconds{1000000000 / 60}; | |||
| 31 | 31 | ||
| 32 | void NVFlinger::SplitVSync(std::stop_token stop_token) { | 32 | void NVFlinger::SplitVSync(std::stop_token stop_token) { |
| 33 | system.RegisterHostThread(); | 33 | system.RegisterHostThread(); |
| 34 | std::string name = "yuzu:VSyncThread"; | 34 | std::string name = "VSyncThread"; |
| 35 | MicroProfileOnThreadCreate(name.c_str()); | 35 | MicroProfileOnThreadCreate(name.c_str()); |
| 36 | 36 | ||
| 37 | // Cleanup | 37 | // Cleanup |