UnityGame/Library/PackageCache/com.unity.test-framework.performance/Runtime/Meters/IStopWatch.cs

19 lines
499 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03:00
namespace Unity.PerformanceTesting.Meters
{
/// <summary>
/// Provides stopwatch functionality for measuring time
/// </summary>
internal interface IStopWatch
{
/// <summary>
/// Resets and starts the stopwatch
/// </summary>
void Start();
/// <summary>
/// Takes a split time since start of stopwatch
/// </summary>
/// <returns>Time passed since start in milliseconds</returns>
double Split();
}
}