FrameSummary
namespace Griff.Runtime;
public sealed class FrameSummaryHow a stretch of frames went: how many, the frame rate and its 1% low (the rate of the slowest 1% of frames), the average and worst frame, and what the game’s steps, building and drawing took on average; then the garbage a frame made on average (in bytes), the most one made, and how many times the garbage collector ran in all.
Properties
Section titled “Properties”Allocated
Section titled “Allocated”public double Allocated { get; init; }AverageMs
Section titled “AverageMs”public double AverageMs { get; init; }BuildMs
Section titled “BuildMs”public double BuildMs { get; init; }Collections
Section titled “Collections”public int Collections { get; init; }DrawMs
Section titled “DrawMs”public double DrawMs { get; init; }public double Draws { get; init; }public double Fps { get; init; }Frames
Section titled “Frames”public int Frames { get; init; }Garbage
Section titled “Garbage”public string Garbage { get; }The garbage a frame made on average, e.g. “0 B”, “12.5 KB” or “1.2 MB”.
LowFps
Section titled “LowFps”public double LowFps { get; init; }MostAllocated
Section titled “MostAllocated”public long MostAllocated { get; init; }StepMs
Section titled “StepMs”public double StepMs { get; init; }public double Steps { get; init; }WorstMs
Section titled “WorstMs”public double WorstMs { get; init; }Methods
Section titled “Methods”Deconstruct
Section titled “Deconstruct”public void Deconstruct(out int Frames, out double Fps, out double LowFps, out double AverageMs, out double WorstMs, out double StepMs, out double BuildMs, out double DrawMs, out double Steps, out double Draws, out double Allocated, out long MostAllocated, out int Collections)Equals
Section titled “Equals”public override bool Equals(object? obj)Equals
Section titled “Equals”public bool Equals(FrameSummary? other)GetHashCode
Section titled “GetHashCode”public override int GetHashCode()ToString
Section titled “ToString”public override string ToString()Fields
Section titled “Fields”public static readonly FrameSummary None