2 implementations of GetHostCpuUsageInNanoseconds
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Linux\LinuxUtilizationParserCgroupV1.cs (1)
120
public long
GetHostCpuUsageInNanoseconds
()
Linux\LinuxUtilizationParserCgroupV2.cs (1)
164
public long
GetHostCpuUsageInNanoseconds
()
4 references to GetHostCpuUsageInNanoseconds
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Linux\LinuxUtilizationProvider.cs (4)
58
_previousHostCpuTime = _parser.
GetHostCpuUsageInNanoseconds
();
194
long hostCpuTime = _parser.
GetHostCpuUsageInNanoseconds
();
260
long hostTime = _parser.
GetHostCpuUsageInNanoseconds
();
327
if (TryGetValueWithRetry(_parser.
GetHostCpuUsageInNanoseconds
, out long systemCpuTime))