diff --git a/Ryujinx.Profiler/DumpProfile.cs b/Ryujinx.Profiler/DumpProfile.cs index 7908254bd2..dd1543202f 100644 --- a/Ryujinx.Profiler/DumpProfile.cs +++ b/Ryujinx.Profiler/DumpProfile.cs @@ -8,11 +8,11 @@ namespace Ryujinx.Profiler { public static void ToFile(string path, InternalProfile profile) { - String fileData = "Name,Session Group,Session Item,Count,Average(ms),Total(ms)\r\n"; + String fileData = "Category,Session Group,Session Item,Count,Average(ms),Total(ms)\r\n"; foreach (var time in profile.Timers.OrderBy(key => key.Key.Tag)) { - fileData += $"{time.Key.Name}," + + fileData += $"{time.Key.Category}," + $"{time.Key.SessionGroup}," + $"{time.Key.SessionItem}," + $"{time.Value.Count}," + diff --git a/Ryujinx.Profiler/ProfileConfig.cs b/Ryujinx.Profiler/ProfileConfig.cs index 4accb4253e..075124bee2 100644 --- a/Ryujinx.Profiler/ProfileConfig.cs +++ b/Ryujinx.Profiler/ProfileConfig.cs @@ -6,7 +6,7 @@ namespace Ryujinx.Profiler { public struct ProfileConfig { - public string Name; + public string Category; public string SessionGroup, SessionItem; private string cachedTag, cachedSession; @@ -16,7 +16,7 @@ namespace Ryujinx.Profiler get { if (cachedTag == null) - cachedTag = $"{Name}{(Session == "" ? "" : $" ({Session})")}"; + cachedTag = $"{Category}{(Session == "" ? "" : $" ({Session})")}"; return cachedTag; } } @@ -56,14 +56,14 @@ namespace Ryujinx.Profiler { public static ProfileConfig Test = new ProfileConfig() { - Name = "CPU", + Category = "CPU", SessionGroup = "Test" }; } public static ProfileConfig ServiceCall = new ProfileConfig() { - Name = "ServiceCall", + Category = "ServiceCall", }; } }