CogwheelUnity/Cogwheel/Library/PackageCache/com.unity.performance.profile-analyzer@1.2.2/Editor/FrameSummary.cs
Spudnut2000 86e8b2168c Init
2024-10-01 23:23:13 -05:00

34 lines
1.0 KiB
C#

using System;
using System.Collections.Generic;
namespace UnityEditor.Performance.ProfileAnalyzer
{
[Serializable]
internal class FrameSummary
{
public double msTotal;
public int first;
public int last;
public int count; // Valid frame count may not be last-first
public float msMean;
public float msMedian;
public float msLowerQuartile;
public float msUpperQuartile;
public float msMin;
public float msMax;
public int medianFrameIndex;
public int minFrameIndex;
public int maxFrameIndex;
public int maxMarkerDepth;
public int totalMarkers;
public int markerCountMax; // Largest marker count (over all frames)
public float markerCountMaxMean; // Largest marker count mean
public int[] buckets = new int[20]; // Each bucket contains 'number of frames' for frametime in that range
public List<FrameTime> frames = new List<FrameTime>();
}
}