Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ProcessThreadTimes.cs
Go to the documentation of this file.
1
namespace
System.Diagnostics
;
2
3
internal
sealed
class
ProcessThreadTimes
4
{
5
internal
long
_create
;
6
7
internal
long
_exit
;
8
9
internal
long
_kernel
;
10
11
internal
long
_user
;
12
13
public
DateTime
StartTime
=>
DateTime
.
FromFileTime
(
_create
);
14
15
public
DateTime
ExitTime
=>
DateTime
.
FromFileTime
(
_exit
);
16
17
public
TimeSpan
PrivilegedProcessorTime
=>
new
TimeSpan
(
_kernel
);
18
19
public
TimeSpan
UserProcessorTime
=>
new
TimeSpan
(
_user
);
20
21
public
TimeSpan
TotalProcessorTime
=>
new
TimeSpan
(
_user
+
_kernel
);
22
}
System.Diagnostics.ProcessThreadTimes.ExitTime
DateTime ExitTime
Definition
ProcessThreadTimes.cs:15
System.Diagnostics.ProcessThreadTimes._user
long _user
Definition
ProcessThreadTimes.cs:11
System.Diagnostics.ProcessThreadTimes._kernel
long _kernel
Definition
ProcessThreadTimes.cs:9
System.Diagnostics.ProcessThreadTimes.UserProcessorTime
TimeSpan UserProcessorTime
Definition
ProcessThreadTimes.cs:19
System.Diagnostics.ProcessThreadTimes._exit
long _exit
Definition
ProcessThreadTimes.cs:7
System.Diagnostics.ProcessThreadTimes.TotalProcessorTime
TimeSpan TotalProcessorTime
Definition
ProcessThreadTimes.cs:21
System.Diagnostics.ProcessThreadTimes.StartTime
DateTime StartTime
Definition
ProcessThreadTimes.cs:13
System.Diagnostics.ProcessThreadTimes.PrivilegedProcessorTime
TimeSpan PrivilegedProcessorTime
Definition
ProcessThreadTimes.cs:17
System.Diagnostics.ProcessThreadTimes._create
long _create
Definition
ProcessThreadTimes.cs:5
System.Diagnostics.ProcessThreadTimes
Definition
ProcessThreadTimes.cs:4
System.Diagnostics
Definition
AggregationManager.cs:6
System.DateTime.FromFileTime
static DateTime FromFileTime(long fileTime)
Definition
DateTime.cs:713
System.DateTime
Definition
DateTime.cs:15
System.TimeSpan
Definition
TimeSpan.cs:10
source
System.Diagnostics.Process
System.Diagnostics
ProcessThreadTimes.cs
Generated by
1.10.0