19 #ifndef CPU_MEM_MONITOR_CPU_H_
20 #define CPU_MEM_MONITOR_CPU_H_
29 std::string sys_cpu_path_;
34 explicit Core(
const std::string sys_cpu_path,
int id);
45 int GetIntValue(
const std::string &file);
50 std::string sys_thermal_path_;
54 explicit ThermalZone(
const std::string sys_thermal_path,
int id);
66 std::string sys_cpu_path_;
67 std::string sys_thermal_path_;
68 std::vector<Core *> cores_;
69 std::vector<ThermalZone *> thermal_zones_;
72 explicit Cpu(
const std::string sys_cpu_path,
73 const std::string sys_thermal_path);
78 const std::vector<Core *>
GetCores(
void);
85 #endif // CPU_MEM_MONITOR_CPU_H_