diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-27 01:38:55 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-27 01:38:55 -0500 |
| commit | ebd879cb30cea945855a423d8df57895cbeaeac6 (patch) | |
| tree | 42af9a51ce2e31d73b55ff48d7b6628dab473255 /Source/Core | |
| parent | 1981f222284448cc8a69d970e1f8569dacec684e (diff) | |
Core: Name the play time tracker thread.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/HW/CPU.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Core/HW/CPU.cpp b/Source/Core/Core/HW/CPU.cpp index 487a33c6ff..70f973628b 100644 --- a/Source/Core/Core/HW/CPU.cpp +++ b/Source/Core/Core/HW/CPU.cpp @@ -10,6 +10,7 @@ #include "AudioCommon/AudioCommon.h" #include "Common/CommonTypes.h" #include "Common/Event.h" +#include "Common/Thread.h" #include "Common/Timer.h" #include "Core/CPUThreadConfigCallback.h" #include "Core/Config/MainSettings.h" @@ -69,6 +70,8 @@ void CPUManager::ExecutePendingJobs(std::unique_lock<std::mutex>& state_lock) void CPUManager::StartTimePlayedTimer() { + Common::SetCurrentThreadName("Play Time Tracker"); + // Steady clock for greater accuracy of timing std::chrono::steady_clock timer; auto prev_time = timer.now(); |
