16 #include <unordered_map>
31 void parseProcess(
const std::string& pid);
33 void calculateProcessLoad();
34 std::map<std::string, double> procCPUUsage;
35 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t> oldCpuTimes;
36 std::tuple<uint64_t, uint64_t, uint64_t, uint64_t> CpuTimes;
37 std::map<std::string,std::unordered_map<std::string, std::string>> processStat;
38 std::map<std::string,std::unordered_map<std::string, std::string>> oldProcessStat;