using System;
namespace Robust.Shared.Timing
{
///
/// Provides a set of methods and properties that you can use to accurately
/// measure elapsed time.
///
public interface IStopwatch
{
///
/// Gets the total elapsed time measured by the current instance.
///
TimeSpan Elapsed { get; }
///
/// Stops time interval measurement, resets the elapsed time to zero,
/// and starts measuring elapsed time.
///
void Restart();
///
/// Starts, or resumes, measuring elapsed time for an interval.
///
void Start();
}
}