add "frame count" and "rendered frame count" to MISC stats

This commit is contained in:
in0finite 2022-05-06 12:45:04 +02:00
parent 3997d581e6
commit cc79defb97

View file

@ -204,6 +204,10 @@ namespace SanAndreasUnity.Stats
AddAsMs(sb, "fixed delta time", Time.fixedDeltaTime);
AddAsMs(sb, "smooth delta time", Time.smoothDeltaTime);
AddAsMs(sb, "maximum delta time", Time.maximumDeltaTime);
AddNesting(sb);
sb.AppendLine($"frame count: {(Time.frameCount / 1000.0):0.00} K");
AddNesting(sb);
sb.AppendLine($"rendered frame count: {(Time.renderedFrameCount / 1000.0):0.00} K");
m_nestingLevel--;
sb.AppendLine();