Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
MonitoringTotalProcessorTime
TimeSpan
System.AppDomain.MonitoringTotalProcessorTime
get
Definition at line
90
of file
AppDomain.cs
.
91
{
92
get
93
{
94
if
(!
Interop
.
Kernel32
.
GetProcessTimes
(
Interop
.
Kernel32
.
GetCurrentProcess
(), out var _, out var _, out var _, out var user))
95
{
96
return
TimeSpan
.Zero;
97
}
98
return
new
TimeSpan
(user);
99
}
100
}
Interop.Kernel32.GetProcessTimes
static bool GetProcessTimes(SafeProcessHandle handle, out long creation, out long exit, out long kernel, out long user)
Interop.Kernel32.GetCurrentProcess
static IntPtr GetCurrentProcess()
Interop.Kernel32
Definition
Interop.cs:8
Interop
Definition
Interop.cs:6
System.Data.Common.StorageType.TimeSpan
@ TimeSpan
System
AppDomain
Generated by
1.10.0