1 implementation of ReadFirstLine
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
Linux\OSFileSystem.cs (1)
44
public void
ReadFirstLine
(FileInfo file, BufferWriter<char> destination)
11 references to ReadFirstLine
Microsoft.Extensions.Diagnostics.ResourceMonitoring (11)
Linux\LinuxUtilizationParserCgroupV1.cs (6)
121
_fileSystem.
ReadFirstLine
(_procStat, bufferWriter.Buffer);
260
_fileSystem.
ReadFirstLine
(_memInfo, bufferWriter.Buffer);
305
_fileSystem.
ReadFirstLine
(_cpuSetCpus, bufferWriter.Buffer);
405
fileSystem.
ReadFirstLine
(_cpuCfsQuotaUs, bufferWriter.Buffer);
424
fileSystem.
ReadFirstLine
(_cpuCfsPeriodUs, bufferWriter.Buffer);
461
fileSystem.
ReadFirstLine
(_cpuPodWeight, bufferWriter.Buffer);
Linux\LinuxUtilizationParserCgroupV2.cs (5)
139
_fileSystem.
ReadFirstLine
(_procStat, bufferWriter.Buffer);
342
_fileSystem.
ReadFirstLine
(_memInfo, bufferWriter.Buffer);
387
_fileSystem.
ReadFirstLine
(_cpuSetCpus, bufferWriter.Buffer);
496
fileSystem.
ReadFirstLine
(_cpuCfsQuaotaPeriodUs, bufferWriter.Buffer);
546
fileSystem.
ReadFirstLine
(_cpuPodWeight, bufferWriter.Buffer);