Home
last modified time | relevance | path

Searched refs:cpu_count (Results 1 – 10 of 10) sorted by relevance

/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh142 cpu_count=`configNR_CPUS.sh $config_template`
143 cpu_count=`configfrag_boot_cpus "$boot_args" "$config_template" "$cpu_count"`
145 if test $cpu_count -gt $vcpus
147 echo CPU count limited from $cpu_count to $vcpus
149 echo CPU count limited from $cpu_count to $vcpus >> $resdir/Warnings
150 cpu_count=$vcpus
152 qemu_args="`specify_qemu_cpus "$QEMU" "$qemu_args" "$cpu_count"`"
Dkvm.sh191 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$kversion/$CF`
192 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$kversion/$CF" "$cpu_count"`
193 echo $CF $cpu_count >> $T/cfgcpu
/tools/power/cpupower/utils/idle_monitor/
Dcpuidle_sysfs.c50 for (cpu = 0; cpu < cpu_count; cpu++) { in cpuidle_start()
69 for (cpu = 0; cpu < cpu_count; cpu++) { in cpuidle_stop()
162 previous_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register()
163 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register()
164 for (num = 0; num < cpu_count; num++) { in cpuidle_register()
179 for (num = 0; num < cpu_count; num++) { in cpuidle_unregister()
Dsnb_idle.c118 for (cpu = 0; cpu < cpu_count; cpu++) { in snb_start()
135 for (cpu = 0; cpu < cpu_count; cpu++) { in snb_stop()
167 is_valid = calloc(cpu_count, sizeof(int)); in snb_register()
169 previous_count[num] = calloc(cpu_count, in snb_register()
171 current_count[num] = calloc(cpu_count, in snb_register()
Dmperf_monitor.c194 for (cpu = 0; cpu < cpu_count; cpu++) in mperf_start()
207 for (cpu = 0; cpu < cpu_count; cpu++) in mperf_stop()
307 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register()
308 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
309 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
310 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
311 aperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
Dhsw_ext_idle.c121 for (cpu = 0; cpu < cpu_count; cpu++) { in hsw_ext_start()
138 for (cpu = 0; cpu < cpu_count; cpu++) { in hsw_ext_stop()
163 is_valid = calloc(cpu_count, sizeof(int)); in hsw_ext_register()
165 previous_count[num] = calloc(cpu_count, in hsw_ext_register()
167 current_count[num] = calloc(cpu_count, in hsw_ext_register()
Dnhm_idle.c135 for (cpu = 0; cpu < cpu_count; cpu++) { in nhm_start()
154 for (cpu = 0; cpu < cpu_count; cpu++) { in nhm_stop()
181 is_valid = calloc(cpu_count, sizeof(int)); in intel_nhm_register()
183 previous_count[num] = calloc(cpu_count, in intel_nhm_register()
185 current_count[num] = calloc(cpu_count, in intel_nhm_register()
Dcpupower-monitor.c321 for (cpu = 0; cpu < cpu_count; cpu++) in do_interval_measure()
333 for (cpu = 0; cpu < cpu_count; cpu++) in do_interval_measure()
385 cpu_count = get_cpu_topology(&cpu_top); in cmd_monitor()
386 if (cpu_count < 0) { in cmd_monitor()
395 dprint("System has up to %d CPU cores\n", cpu_count); in cmd_monitor()
426 cpu_top.pkgs, cpu_top.cores, cpu_count); in cmd_monitor()
443 for (cpu = 0; cpu < cpu_count; cpu++) { in cmd_monitor()
Damd_fam14h_idle.c234 for (cpu = 0; cpu < cpu_count; cpu++) in amd_fam14h_start()
254 for (cpu = 0; cpu < cpu_count; cpu++) in amd_fam14h_stop()
295 previous_count[num] = calloc(cpu_count, in amd_fam14h_register()
297 current_count[num] = calloc(cpu_count, in amd_fam14h_register()
Dcpupower-monitor.h21 int cpu_count; variable