Skip to content

Commit

Permalink
Fix ProfileUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
kochounoyume committed Jan 2, 2025
1 parent df46930 commit 2b19a4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Packages/MinimalUtility/Runtime/Debugging/ProfileUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ public static Label GetProfileInfoLabel()
var latest = GetLatestFrameTiming();
label.text = $@"<b>Performance</b>
CPU: {1000 / latest.cpuFrameTime:F0}fps ({latest.cpuFrameTime:F1}ms)
Memory: {GetTotalMemory(MemoryUnit.GB):F}GB
";
Memory: {GetTotalMemory(MemoryUnit.GB):F}GB";
}).Every(500);
return label;
}
Expand Down

0 comments on commit 2b19a4d

Please sign in to comment.