8 references to TicksToTimeSpan
System.Diagnostics.Process (8)
System\Diagnostics\Process.Linux.cs (4)
56
get => IsCurrentProcess ? Environment.CpuUsage.PrivilegedTime :
TicksToTimeSpan
(GetStat().stime);
64
return BootTimeToDateTime(
TicksToTimeSpan
(GetStat().starttime));
138
return
TicksToTimeSpan
(stat.utime + stat.stime);
151
get => IsCurrentProcess ? Environment.CpuUsage.UserTime :
TicksToTimeSpan
(GetStat().utime);
System\Diagnostics\ProcessThread.Linux.cs (4)
44
return Process.
TicksToTimeSpan
(stat.stime);
48
private DateTime GetStartTime() => Process.BootTimeToDateTime(Process.
TicksToTimeSpan
(GetStat().starttime));
63
return Process.
TicksToTimeSpan
(stat.utime + stat.stime);
79
return Process.
TicksToTimeSpan
(stat.utime);