mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
RobustToolbox projects should be named Robust.* This PR changes the RobustToolbox projects from SS14.* to Robust.* Updates SS14.* prefixes/namespaces to Robust.* Updates SpaceStation14.sln to RobustToolbox.sln Updates MSBUILD/SS14.* to MSBUILD/Robust.* Updates CSProject and MSBuild references for the above Updates git_helper.py Removes Runserver and Runclient as they are unusable
28 lines
756 B
C#
28 lines
756 B
C#
using System;
|
|
|
|
namespace Robust.Shared.Timing
|
|
{
|
|
/// <summary>
|
|
/// Provides a set of methods and properties that you can use to accurately
|
|
/// measure elapsed time.
|
|
/// </summary>
|
|
public interface IStopwatch
|
|
{
|
|
/// <summary>
|
|
/// Gets the total elapsed time measured by the current instance.
|
|
/// </summary>
|
|
TimeSpan Elapsed { get; }
|
|
|
|
/// <summary>
|
|
/// Stops time interval measurement, resets the elapsed time to zero,
|
|
/// and starts measuring elapsed time.
|
|
/// </summary>
|
|
void Restart();
|
|
|
|
/// <summary>
|
|
/// Starts, or resumes, measuring elapsed time for an interval.
|
|
/// </summary>
|
|
void Start();
|
|
}
|
|
}
|