Home
last modified time | relevance | path

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

/hardware/libhardware/modules/thermal/
Dthermal.c87 int vals, cpu_num, online; in get_cpu_usages() local
110 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, in get_cpu_usages()
127 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); in get_cpu_usages()
134 online = cpu_num == 0; in get_cpu_usages()
/hardware/qcom/sdm845/thermal/
Dthermal.c37 const char * __attribute__ ((weak)) get_cpu_label(unsigned int cpu_num) { in get_cpu_label() argument
81 int vals, cpu_num, online; in get_cpu_usages() local
113 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, in get_cpu_usages()
135 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); in get_cpu_usages()
Dthermal_common.c69 const char *get_cpu_label(unsigned int cpu_num) { in get_cpu_label() argument
84 if(cpu_num >= get_num_cpus()) in get_cpu_label()
87 return cpu_label[cpu_num]; in get_cpu_label()
Dthermal_common.h69 const char *get_cpu_label(unsigned int cpu_num);
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_thermal_ioctl.h25 uint32_t cpu_num; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_thermal_ioctl.h9 uint32_t cpu_num; member
/hardware/google/pixel/thermal/
Dthermal-helper.cpp89 uint64_t cpu_num, user, nice, system, idle; in parseCpuUsagesFileAndAssignUsages() local
104 cpu_num = std::stoi(cpu_name.substr(3)); in parseCpuUsagesFileAndAssignUsages()
106 if (cpu_num < kMaxCpus) { in parseCpuUsagesFileAndAssignUsages()
123 (*cpu_usages)[cpu_num].name = cpu_name; in parseCpuUsagesFileAndAssignUsages()
124 (*cpu_usages)[cpu_num].active = user + nice + system; in parseCpuUsagesFileAndAssignUsages()
125 (*cpu_usages)[cpu_num].total = user + nice + system + idle; in parseCpuUsagesFileAndAssignUsages()
126 (*cpu_usages)[cpu_num].isOnline = (is_online == "1") ? true : false; in parseCpuUsagesFileAndAssignUsages()
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_thermal_ioctl.h26 uint32_t cpu_num; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dmsm_thermal_ioctl.h26 uint32_t cpu_num; member
/hardware/qcom/msm8994/kernel-headers/linux/
Dmsm_thermal_ioctl.h26 uint32_t cpu_num; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_thermal_ioctl.h10 uint32_t cpu_num; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_thermal_ioctl.h26 uint32_t cpu_num; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_thermal_ioctl.h10 uint32_t cpu_num; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dmsm_thermal_ioctl.h10 uint32_t cpu_num; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dmsm_thermal_ioctl.h10 uint32_t cpu_num; member