mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2024-11-21 19:43:03 +00:00
add "frame count" and "rendered frame count" to MISC stats
This commit is contained in:
parent
3997d581e6
commit
cc79defb97
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue