ITickSource.cs
1 using ARMeilleure.State; 2 using System; 3 4 namespace Ryujinx.Cpu 5 { 6 /// <summary> 7 /// Tick source interface. 8 /// </summary> 9 public interface ITickSource : ICounter 10 { 11 /// <summary> 12 /// Time elapsed since the counter was created. 13 /// </summary> 14 TimeSpan ElapsedTime { get; } 15 16 /// <summary> 17 /// Time elapsed since the counter was created, in seconds. 18 /// </summary> 19 double ElapsedSeconds { get; } 20 21 /// <summary> 22 /// Stops counting. 23 /// </summary> 24 void Suspend(); 25 26 /// <summary> 27 /// Resumes counting after a call to <see cref="Suspend"/>. 28 /// </summary> 29 void Resume(); 30 } 31 }