1 write to UserTime
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Environment.UnixOrBrowser.cs (1)
93
return new ProcessCpuUsage {
UserTime
= new TimeSpan((long)userTime100Nanoseconds), PrivilegedTime = new TimeSpan((long)kernelTime100Nanoseconds) };
3 references to UserTime
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\RuntimeMetrics.cs (1)
181
yield return new(processCpuUsage.
UserTime
.TotalSeconds, [new KeyValuePair<string, object?>("cpu.mode", "user")]);
System.Diagnostics.Process (1)
System\Diagnostics\Process.Linux.cs (1)
151
get => IsCurrentProcess ? Environment.CpuUsage.
UserTime
: TicksToTimeSpan(GetStat().utime);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Environment.cs (1)
35
public TimeSpan TotalTime =>
UserTime
+ PrivilegedTime;