terraria-cpp2il-methodrecon
v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
PlatformHelper.cs
Go to the documentation of this file.
1
using
System
;
2
3
namespace
System.Threading
4
{
5
// Token: 0x020001CE RID: 462
6
internal
static
class
PlatformHelper
7
{
8
// Token: 0x17000190 RID: 400
9
// (get) Token: 0x060010FF RID: 4351 RVA: 0x00023F6C File Offset: 0x0002216C
10
internal
static
int
ProcessorCount
11
{
12
get
13
{
14
int
tickCount
=
Environment
.
TickCount
;
15
int
num = 30000;
16
int
processorCount =
Environment
.
ProcessorCount
;
17
if
(num == 0)
18
{
19
}
20
return
processorCount;
21
}
22
}
23
24
// Token: 0x06001100 RID: 4352 RVA: 0x00023F98 File Offset: 0x00022198
25
// Note: this type is marked as 'beforefieldinit'.
26
static
PlatformHelper
()
27
{
28
int
processorCount =
PlatformHelper
.
ProcessorCount
;
29
}
30
31
// Token: 0x04000926 RID: 2342
32
private
static
int
s_processorCount
;
33
34
// Token: 0x04000927 RID: 2343
35
private
static
int
s_lastProcessorCountRefreshTicks
;
36
37
// Token: 0x04000928 RID: 2344
38
internal
static
readonly
bool
IsSingleProcessor
;
39
}
40
}
j__TPar
class f__AnonymousType0<< Count > j__TPar
Definition
--f__AnonymousType0.cs:8
System.Environment.ProcessorCount
static int ProcessorCount
Definition
Environment.cs:347
System.Environment.TickCount
static int TickCount
Definition
Environment.cs:160
System.Environment
Definition
Environment.cs:17
System.Threading.PlatformHelper.s_lastProcessorCountRefreshTicks
static int s_lastProcessorCountRefreshTicks
Definition
PlatformHelper.cs:35
System.Threading.PlatformHelper.IsSingleProcessor
static readonly bool IsSingleProcessor
Definition
PlatformHelper.cs:38
System.Threading.PlatformHelper.PlatformHelper
static PlatformHelper()
Definition
PlatformHelper.cs:26
System.Threading.PlatformHelper.s_processorCount
static int s_processorCount
Definition
PlatformHelper.cs:32
System.Threading.PlatformHelper.ProcessorCount
static int ProcessorCount
Definition
PlatformHelper.cs:11
System.Threading.PlatformHelper
Definition
PlatformHelper.cs:7
System.Threading
Definition
_ThreadPoolWaitCallback.cs:4
System
Definition
__ComObject.cs:4
source
mscorlib
System
Threading
PlatformHelper.cs
Generated by
1.10.0