Home
last modified time | relevance | path

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

/tools/testing/selftests/rcutorture/bin/
Dkvm-test-1-run.sh152 cpu_count=`configNR_CPUS.sh $config_template`
153 cpu_count=`configfrag_boot_cpus "$boot_args" "$config_template" "$cpu_count"`
155 if test $cpu_count -gt $vcpus
157 echo CPU count limited from $cpu_count to $vcpus
159 echo CPU count limited from $cpu_count to $vcpus >> $resdir/Warnings
160 cpu_count=$vcpus
162 qemu_args="`specify_qemu_cpus "$QEMU" "$qemu_args" "$cpu_count"`"
Dkvm.sh206 cpu_count=`configNR_CPUS.sh $CONFIGFRAG/$CF1`
207 cpu_count=`configfrag_boot_cpus "$TORTURE_BOOTARGS" "$CONFIGFRAG/$CF1" "$cpu_count"`
210 echo $CF1 $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()
165 previous_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register()
166 current_count = malloc(sizeof(long long *) * cpu_count); in cpuidle_register()
167 for (num = 0; num < cpu_count; num++) { in cpuidle_register()
182 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()
308 is_valid = calloc(cpu_count, sizeof(int)); in mperf_register()
309 mperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
310 aperf_previous_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
311 mperf_current_count = calloc(cpu_count, sizeof(unsigned long long)); in mperf_register()
312 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.c325 for (cpu = 0; cpu < cpu_count; cpu++) in do_interval_measure()
337 for (cpu = 0; cpu < cpu_count; cpu++) in do_interval_measure()
389 cpu_count = get_cpu_topology(&cpu_top); in cmd_monitor()
390 if (cpu_count < 0) { in cmd_monitor()
402 dprint("System has up to %d CPU cores\n", cpu_count); in cmd_monitor()
433 cpu_top.pkgs, cpu_top.cores, cpu_count); in cmd_monitor()
450 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
/tools/accounting/
Dgetdelays.c208 (unsigned long long)t->cpu_count, in print_delayacct()
212 average_ms((double)t->cpu_delay_total, t->cpu_count), in print_delayacct()