Skip to content

Commit

Permalink
Include build string in profile summary. Add a 40fps bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Oct 6, 2024
1 parent 48a3f78 commit 371e9e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ void DestroyIntroSketch()
Resources.UnloadUnusedAssets();
}

static string GetStartupString()
public static string GetStartupString()
{
string str = $"{App.kAppDisplayName} {Config.m_VersionNumber}";

Expand Down
1 change: 1 addition & 0 deletions Assets/Scripts/Debug/ProfilingManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ private void OutputStats()
string branch = GitUtils.GetGitBranchName();
message.AppendLine($"Git branch: {branch}");
#endif
message.AppendLine($"Build: {App.GetStartupString()}");
message.AppendLine($"Profile name: {profileName} Filename: {fileName} Human name: {humanName}");

if (App.UserConfig.Profiling.PerfgateOutput)
Expand Down

0 comments on commit 371e9e1

Please sign in to comment.