aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Profiler/UI
diff options
context:
space:
mode:
authorAc_K <Acoustik666@gmail.com>2020-01-13 01:21:54 +0100
committerThog <me@thog.eu>2020-01-13 01:21:54 +0100
commit5facc0c07f8a3f6fd0f39229044fe120501162a7 (patch)
tree58ea7980cd38214806152b5f13f2427102a78564 /Ryujinx.Profiler/UI
parentf0055482fd1aef9dcae7c6c4c6e01483f11f7839 (diff)
Name all threads (#886)
* Name all threads Close #874 * use ThreadName instead of ThreadId in Logging
Diffstat (limited to 'Ryujinx.Profiler/UI')
-rw-r--r--Ryujinx.Profiler/UI/ProfileWindowManager.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/Ryujinx.Profiler/UI/ProfileWindowManager.cs b/Ryujinx.Profiler/UI/ProfileWindowManager.cs
index c6a65a31..13603029 100644
--- a/Ryujinx.Profiler/UI/ProfileWindowManager.cs
+++ b/Ryujinx.Profiler/UI/ProfileWindowManager.cs
@@ -21,7 +21,10 @@ namespace Ryujinx.Profiler.UI
{
_profilerRunning = true;
_prevTime = 0;
- _profileThread = new Thread(ProfileLoop);
+ _profileThread = new Thread(ProfileLoop)
+ {
+ Name = "Profiler.ProfileThread"
+ };
_profileThread.Start();
}
}
@@ -60,7 +63,10 @@ namespace Ryujinx.Profiler.UI
using (_window = new ProfileWindow())
{
// Create thread for render loop
- _renderThread = new Thread(RenderLoop);
+ _renderThread = new Thread(RenderLoop)
+ {
+ Name = "Profiler.RenderThread"
+ };
_renderThread.Start();
while (_profilerRunning)