Home
last modified time | relevance | path

Searched refs:CPUStatsIndex (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-health-monitor/
H A Dhealth_metric_collection.cpp21 enum CPUStatsIndex in readCPU() enum
44 std::size_t timeData[CPUStatsIndex::maxIndex] = {0}; in readCPU()
56 for (auto idx = 0; idx < CPUStatsIndex::maxIndex; idx++) in readCPU()
73 activeTime = timeData[CPUStatsIndex::userIndex] + in readCPU()
74 timeData[CPUStatsIndex::niceIndex] + in readCPU()
75 timeData[CPUStatsIndex::systemIndex] + in readCPU()
76 timeData[CPUStatsIndex::irqIndex] + in readCPU()
77 timeData[CPUStatsIndex::softirqIndex] + in readCPU()
78 timeData[CPUStatsIndex::stealIndex] + in readCPU()
84 activeTime = timeData[CPUStatsIndex::systemIndex]; in readCPU()
[all …]