/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
msm_thermal_ioctl.h | 9 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/device/huawei/angler/thermal/ |
thermal.c | 41 #define CPU_NUM (sizeof(CPU_SENSORS) / sizeof(int)) 110 for (cpu = 0; cpu < CPU_NUM; cpu++) { 178 int vals, cpu_num, online; local 189 return CPU_NUM; 207 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 214 if (vals != 5 || size == CPU_NUM) { 229 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); 257 if (size != CPU_NUM) { 261 return CPU_NUM;
|
/device/lge/bullhead/thermal/ |
thermal.c | 42 #define CPU_NUM (sizeof(CPU_SENSORS) / sizeof(int)) 108 for (cpu = 0; cpu < CPU_NUM; cpu++) { 180 int vals, cpu_num, online; local 191 return CPU_NUM; 209 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 216 if (vals != 5 || size == CPU_NUM) { 231 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); 260 if (size != CPU_NUM) { 265 return CPU_NUM;
|
/external/netperf/src/ |
netcpu_kstat10.c | 153 get_cpu_counters(int cpu_num, cpu_time_counters_t *counters) 162 ksp = kstat_lookup(kc, "cpu", lib_cpu_map[cpu_num], "sys"); 177 counters[cpu_num].idle = knp->value.ui64; 181 counters[cpu_num].user = knp->value.ui64; 185 counters[cpu_num].kernel = knp->value.ui64; 237 cpu_num, 238 lib_cpu_map[cpu_num], 247 get_interrupt_counters(int cpu_num, cpu_time_counters_t *counters) 255 ksp = kstat_lookup(kc, "cpu", lib_cpu_map[cpu_num], "intrstat"); 257 counters[cpu_num].interrupt = 0 [all...] |
/device/google/marlin/dataservices/datatop/src/ |
datatop_cpu_stats_poll.c | 154 char *cpu_num = malloc(5); local 157 snprintf(cpu_num, 5, "%d", i); 158 nf_len = strlen(file) + strlen(add) + strlen(cpu_num) + 2; 161 strlcat(newfile, cpu_num, nf_len); 163 free(cpu_num);
|
/external/ltp/tools/pounder21/test_scripts/ |
cpufreq | 64 CPU_NUM=`dirname $cpu | sed -e 's/.*cpu//g'` 65 MATCHES=`(cat /sys/devices/system/cpu/cpu*/cpufreq/affected_cpus /dev/null 2> /dev/null | while read car cdr; do echo $cdr; done) | grep "^$CPU_NUM$" -c` 67 echo $CPU_NUM
|
/hardware/libhardware/modules/thermal/ |
thermal.c | 87 int vals, cpu_num, online; local 110 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 127 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); 134 online = cpu_num == 0;
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
msm_thermal_ioctl.h | 25 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/external/ltp/testcases/kernel/controllers/cpuset/ |
cpuset_regression_test.sh | 37 local cpu_num=$(getconf _NPROCESSORS_ONLN) 38 if [ $cpu_num -lt 2 ]; then
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
msm_thermal_ioctl.h | 10 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
msm_thermal_ioctl.h | 10 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/hardware/qcom/msm8998/original-kernel-headers/linux/ |
msm_thermal_ioctl.h | 10 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/hardware/qcom/msm8x09/original-kernel-headers/linux/ |
msm_thermal_ioctl.h | 10 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/device/google/wahoo/thermal/ |
thermal-helper.cpp | 207 int vals, cpu_num, online; local 237 vals = sscanf(line, "cpu%d %" SCNu64 " %" SCNu64 " %" SCNu64 " %" SCNu64, &cpu_num, &user, 260 snprintf(file_name, PATH_MAX, kCpuOnlineFileFormat, cpu_num);
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
msm_thermal_ioctl.h | 26 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
msm_thermal_ioctl.h | 26 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/hardware/qcom/msm8998/kernel-headers/linux/ |
msm_thermal_ioctl.h | 26 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/hardware/qcom/msm8x09/kernel-headers/linux/ |
msm_thermal_ioctl.h | 26 uint32_t cpu_num; member in struct:cpu_freq_arg
|
/external/stressapptest/src/ |
worker.h | 276 void set_cpu_mask_to_cpu(int cpu_num) { 277 cpuset_set_ab(&cpu_mask_, cpu_num, cpu_num + 1);
|