Files
Aug2021-Cpp2IL-Dump/System/Diagnostics/Stopwatch.cs
T
2026-04-10 22:50:51 +02:00

158 lines
5.8 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Diagnostics
{
/// <summary>Provides a set of methods and properties that you can use to accurately measure elapsed time.</summary>
// Token: 0x020000DA RID: 218
[Token(Token = "0x20000DA")]
public class Stopwatch
{
/// <summary>Gets the current number of ticks in the timer mechanism.</summary>
/// <returns>A long integer representing the tick counter value of the underlying timer mechanism.</returns>
// Token: 0x0600051C RID: 1308 RVA: 0x000040B0 File Offset: 0x000022B0
[Token(Token = "0x600051C")]
[Address(RVA = "0x1DB6AB0", Offset = "0x1DB58B0", VA = "0x181DB6AB0")]
public static long GetTimestamp()
{
return 0L;
}
/// <summary>Initializes a new <see cref="T:System.Diagnostics.Stopwatch" /> instance, sets the elapsed time property to zero, and starts measuring elapsed time.</summary>
/// <returns>A <see cref="T:System.Diagnostics.Stopwatch" /> that has just begun measuring elapsed time.</returns>
// Token: 0x0600051D RID: 1309 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600051D")]
[Address(RVA = "0x28AD440", Offset = "0x28AC240", VA = "0x1828AD440")]
public static Stopwatch StartNew()
{
return null;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Stopwatch" /> class.</summary>
// Token: 0x0600051E RID: 1310 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600051E")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public Stopwatch()
{
}
/// <summary>Gets the total elapsed time measured by the current instance.</summary>
/// <returns>A read-only <see cref="T:System.TimeSpan" /> representing the total elapsed time measured by the current instance.</returns>
// Token: 0x170000CA RID: 202
// (get) Token: 0x0600051F RID: 1311 RVA: 0x000040C8 File Offset: 0x000022C8
[Token(Token = "0x170000CA")]
public TimeSpan Elapsed
{
[Token(Token = "0x600051F")]
[Address(RVA = "0x28AD8B0", Offset = "0x28AC6B0", VA = "0x1828AD8B0")]
get
{
return default(TimeSpan);
}
}
/// <summary>Gets the total elapsed time measured by the current instance, in milliseconds.</summary>
/// <returns>A read-only long integer representing the total number of milliseconds measured by the current instance.</returns>
// Token: 0x170000CB RID: 203
// (get) Token: 0x06000520 RID: 1312 RVA: 0x000040E0 File Offset: 0x000022E0
[Token(Token = "0x170000CB")]
public long ElapsedMilliseconds
{
[Token(Token = "0x6000520")]
[Address(RVA = "0x28AD610", Offset = "0x28AC410", VA = "0x1828AD610")]
get
{
return 0L;
}
}
/// <summary>Gets the total elapsed time measured by the current instance, in timer ticks.</summary>
/// <returns>A read-only long integer representing the total number of timer ticks measured by the current instance.</returns>
// Token: 0x170000CC RID: 204
// (get) Token: 0x06000521 RID: 1313 RVA: 0x000040F8 File Offset: 0x000022F8
[Token(Token = "0x170000CC")]
public long ElapsedTicks
{
[Token(Token = "0x6000521")]
[Address(RVA = "0x28AD840", Offset = "0x28AC640", VA = "0x1828AD840")]
get
{
return 0L;
}
}
/// <summary>Gets a value indicating whether the <see cref="T:System.Diagnostics.Stopwatch" /> timer is running.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="T:System.Diagnostics.Stopwatch" /> instance is currently running and measuring elapsed time for an interval; otherwise, <see langword="false" />.</returns>
// Token: 0x170000CD RID: 205
// (get) Token: 0x06000522 RID: 1314 RVA: 0x00004110 File Offset: 0x00002310
[Token(Token = "0x170000CD")]
public bool IsRunning
{
[Token(Token = "0x6000522")]
[Address(RVA = "0x3F71D0", Offset = "0x3F5FD0", VA = "0x1803F71D0")]
get
{
return default(bool);
}
}
/// <summary>Stops time interval measurement and resets the elapsed time to zero.</summary>
// Token: 0x06000523 RID: 1315 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000523")]
[Address(RVA = "0x28AD3D0", Offset = "0x28AC1D0", VA = "0x1828AD3D0")]
public void Reset()
{
}
/// <summary>Starts, or resumes, measuring elapsed time for an interval.</summary>
// Token: 0x06000524 RID: 1316 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000524")]
[Address(RVA = "0x28AD4E0", Offset = "0x28AC2E0", VA = "0x1828AD4E0")]
public void Start()
{
}
/// <summary>Stops measuring elapsed time for an interval.</summary>
// Token: 0x06000525 RID: 1317 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000525")]
[Address(RVA = "0x28AD540", Offset = "0x28AC340", VA = "0x1828AD540")]
public void Stop()
{
}
/// <summary>Stops time interval measurement, resets the elapsed time to zero, and starts measuring elapsed time.</summary>
// Token: 0x06000526 RID: 1318 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000526")]
[Address(RVA = "0x28AD3E0", Offset = "0x28AC1E0", VA = "0x1828AD3E0")]
public void Restart()
{
}
/// <summary>Gets the frequency of the timer as the number of ticks per second. This field is read-only.</summary>
// Token: 0x0400042A RID: 1066
[Token(Token = "0x400042A")]
public static readonly long Frequency;
/// <summary>Indicates whether the timer is based on a high-resolution performance counter. This field is read-only.</summary>
// Token: 0x0400042B RID: 1067
[Token(Token = "0x400042B")]
public static readonly bool IsHighResolution;
// Token: 0x0400042C RID: 1068
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400042C")]
private long elapsed;
// Token: 0x0400042D RID: 1069
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400042D")]
private long started;
// Token: 0x0400042E RID: 1070
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400042E")]
private bool is_running;
}
}