Sort output for easier read
This commit is contained in:
parent
bd39c82342
commit
6bd99b6edd
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace Ryujinx.Profiler
|
||||
{
|
||||
|
@ -8,7 +9,7 @@ namespace Ryujinx.Profiler
|
|||
public static void ToFile(string path, InternalProfile profile)
|
||||
{
|
||||
String fileData = "";
|
||||
foreach (var time in profile.Timers)
|
||||
foreach (var time in profile.Timers.OrderBy(key => key.Key.Tag))
|
||||
{
|
||||
fileData += $"{time.Key.Tag} - " +
|
||||
$"Total: {profile.ConvertTicksToMS(time.Value.TotalTime)}ms, " +
|
||||
|
|
Loading…
Add table
Reference in a new issue