Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
JitInfo.cs
Go to the documentation of this file.
2
3namespace System.Runtime;
4
5public static class JitInfo
6{
7 [MethodImpl(MethodImplOptions.InternalCall)]
8 public static extern long GetCompiledILBytes(bool currentThread = false);
9
10 [MethodImpl(MethodImplOptions.InternalCall)]
11 public static extern long GetCompiledMethodCount(bool currentThread = false);
12
13 [MethodImpl(MethodImplOptions.InternalCall)]
14 private static extern long GetCompilationTimeInTicks(bool currentThread = false);
15
16 public static TimeSpan GetCompilationTime(bool currentThread = false)
17 {
18 return TimeSpan.FromTicks(GetCompilationTimeInTicks(currentThread));
19 }
20}
static long GetCompiledILBytes(bool currentThread=false)
static long GetCompiledMethodCount(bool currentThread=false)
static long GetCompilationTimeInTicks(bool currentThread=false)
static TimeSpan GetCompilationTime(bool currentThread=false)
Definition JitInfo.cs:16
static TimeSpan FromTicks(long value)
Definition TimeSpan.cs:277