test
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace UnityEditor.Performance.ProfileAnalyzer
|
||||
{
|
||||
[Serializable]
|
||||
internal struct ThreadFrameTime : IComparable<ThreadFrameTime>
|
||||
{
|
||||
public int frameIndex;
|
||||
public float ms;
|
||||
public float msIdle;
|
||||
|
||||
public ThreadFrameTime(int index, float msTime, float msTimeIdle)
|
||||
{
|
||||
frameIndex = index;
|
||||
ms = msTime;
|
||||
msIdle = msTimeIdle;
|
||||
}
|
||||
|
||||
public int CompareTo(ThreadFrameTime other)
|
||||
{
|
||||
return ms.CompareTo(other.ms);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user