Searched refs:cpu (Results 1 – 11 of 11) sorted by relevance
/system/extras/sane_schedstat/ |
D | sane_schedstat.c | 85 int cpu; in parse_cpu_v15() local 88 &cpu, &tmp.yld_count, in parse_cpu_v15() 96 cpu_delta[cpu].yld_count = tmp.yld_count - cpu_prev[cpu].yld_count; in parse_cpu_v15() 97 cpu_delta[cpu].sched_switch = tmp.sched_switch - cpu_prev[cpu].sched_switch; in parse_cpu_v15() 98 cpu_delta[cpu].sched_count = tmp.sched_count - cpu_prev[cpu].sched_count; in parse_cpu_v15() 99 cpu_delta[cpu].sched_goidle = tmp.sched_goidle - cpu_prev[cpu].sched_goidle; in parse_cpu_v15() 100 cpu_delta[cpu].ttwu_count = tmp.ttwu_count - cpu_prev[cpu].ttwu_count; in parse_cpu_v15() 101 cpu_delta[cpu].ttwu_local = tmp.ttwu_local - cpu_prev[cpu].ttwu_local; in parse_cpu_v15() 102 cpu_delta[cpu].cpu_time = tmp.cpu_time - cpu_prev[cpu].cpu_time; in parse_cpu_v15() 103 cpu_delta[cpu].run_delay = tmp.run_delay - cpu_prev[cpu].run_delay; in parse_cpu_v15() [all …]
|
/system/extras/tests/wifi/stress/ |
D | wifiLoadScanAssoc.c | 129 int cpu; in main() local 278 randBind(&availCPU, &cpu); in main() 281 cpu, rv); in main() 284 testPrintI("CPU: %i wifi_load_driver succeeded", cpu); in main() 287 randBind(&availCPU, &cpu); in main() 290 cpu, rv); in main() 293 testPrintI("CPU: %i wifi_start_supplicant succeeded", cpu); in main() 313 randBind(&availCPU, &cpu); in main() 316 cpu, rv); in main() 319 testPrintI("CPU: %i wifi_stop_supplicant succeeded", cpu); in main() [all …]
|
/system/extras/tests/binder/benchmarks/ |
D | binderAddInts.cpp | 76 AddIntsService(int cpu = unbound); 94 static void bindCPU(unsigned int cpu); 121 int cpu = strtoul(optarg, &chptr, 10); in main() local 129 if (!CPU_ISSET(cpu, &availCPUs)) { in main() 136 *((opt == 'c') ? &options.clientCPU : &options.serverCPU) = cpu; in main() 307 AddIntsService::AddIntsService(int cpu): cpu_(cpu) { in AddIntsService() argument 308 if (cpu != unbound) { bindCPU(cpu); } in AddIntsService() 316 int cpu; in onTransact() local 321 cpu = sched_getcpu(); in onTransact() 322 if (cpu != cpu_) { in onTransact() [all …]
|
/system/extras/cpustats/ |
D | cpustats.c | 57 static long unsigned get_cpu_total_time(struct cpu_info *cpu); 58 static int get_freq_scales_count(int cpu); 64 static void read_freq_stats(int cpu); 211 static int get_freq_scales_count(int cpu) { in get_freq_scales_count() argument 217 sprintf(filename, "/sys/devices/system/cpu/cpu%d/cpufreq/stats/time_in_state", cpu); in get_freq_scales_count() 262 static void read_freq_stats(int cpu) { in read_freq_stats() argument 267 sprintf(filename, "/sys/devices/system/cpu/cpu%d/cpufreq/stats/time_in_state", cpu); in read_freq_stats() 270 for (i = 0; i < new_cpus[cpu].freq_count; i++) { in read_freq_stats() 271 fscanf(file, "%u %lu\n", &new_cpus[cpu].freqs[i].freq, in read_freq_stats() 272 &new_cpus[cpu].freqs[i].time); in read_freq_stats() [all …]
|
/system/core/rootdir/ |
D | init.rc | 45 # Create cgroup mount point for cpu accounting 97 write /proc/cpu/alignment 4 119 mount cgroup none /dev/cpuctl cpu 123 write /dev/cpuctl/cpu.shares 1024 124 write /dev/cpuctl/cpu.rt_runtime_us 950000 125 write /dev/cpuctl/cpu.rt_period_us 1000000 130 write /dev/cpuctl/apps/cpu.shares 1024 131 write /dev/cpuctl/apps/cpu.rt_runtime_us 800000 132 write /dev/cpuctl/apps/cpu.rt_period_us 1000000 138 write /dev/cpuctl/apps/bg_non_interactive/cpu.shares 52 [all …]
|
D | ueventd.rc | 94 /sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system 95 /sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system
|
/system/core/init/ |
D | bootchart.c | 129 char* cpu; in log_header() local 143 cpu = strchr( cpuinfo, ':' ); in log_header() 144 if (cpu) { in log_header() 145 char* p = strchr(cpu, '\n'); in log_header() 146 cpu += 2; in log_header() 155 fprintf(out, "system.cpu = %s\n", cpu); in log_header()
|
D | readme.txt | 300 write /proc/cpu/alignment 4
|
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 267 for (int cpu = 0; cpu < 16; ++cpu) // 16 cores mobile phones, abestos pockets recommended. in disableCpuScaling() local 270 sprintf(governor, kScalingGovernorFormat, cpu); in disableCpuScaling() 274 if (cpu > 0 && errno == ENOENT) in disableCpuScaling() 279 cpu, errno, strerror(errno)); in disableCpuScaling()
|
/system/extras/tests/bionic/libc/common/ |
D | test_cpu_set.c | 197 int cpu; in main() local 208 T((cpu = sched_getcpu()) >= 0); in main() 214 CPU_SET(cpu, &set0); in main()
|
/system/core/logcat/ |
D | event.logtags | 96 # time: cpu time millis (not wall time), including lock acquisition
|