| /openbmc/qemu/hw/cpu/ |
| H A D | cluster.c | 34 int cpu_count; member 44 cbdata->cpu_count++; in add_cpu_to_cluster() 56 .cpu_count = 0, in cpu_cluster_realize() 72 assert(cbdata.cpu_count > 0); in cpu_cluster_realize()
|
| /openbmc/qemu/accel/tcg/ |
| H A D | tcg-accel-ops-rr.c | 156 static int cpu_count; in rr_cpu_count() local 162 cpu_count = 0; in rr_cpu_count() 164 ++cpu_count; in rr_cpu_count() 169 return cpu_count; in rr_cpu_count() 226 int cpu_count = rr_cpu_count(); in rr_cpu_thread_fn() local 236 cpu_budget = icount_percpu_budget(cpu_count); in rr_cpu_thread_fn()
|
| H A D | tcg-accel-ops-icount.c | 93 int64_t icount_percpu_budget(int cpu_count) in icount_percpu_budget() argument 96 int64_t timeslice = limit / cpu_count; in icount_percpu_budget()
|
| H A D | tcg-accel-ops-icount.h | 15 int64_t icount_percpu_budget(int cpu_count);
|
| /openbmc/qemu/hw/mips/ |
| H A D | loongson3_bootp.c | 28 static void init_cpu_info(void *g_cpuinfo, uint32_t cpu_count, in init_cpu_info() argument 42 c->nr_cpus = cpu_to_le32(cpu_count); in init_cpu_info() 43 c->total_node = cpu_to_le32(DIV_ROUND_UP(cpu_count, in init_cpu_info() 114 uint32_t cpu_count, uint32_t processor_id, in init_loongson_params() argument 117 init_cpu_info(p, cpu_count, processor_id, cpu_freq); in init_loongson_params()
|
| H A D | loongson3_bootp.h | 236 uint32_t cpu_count, uint32_t processor_id,
|
| H A D | loongson3_virt.c | 176 static void init_boot_param(unsigned cpu_count, uint32_t processor_id) in init_boot_param() argument 187 init_loongson_params(&(bp->efi.smbios.lp), p, cpu_count, processor_id, in init_boot_param()
|
| /openbmc/qemu/tests/functional/ |
| H A D | test_arm_integratorcp.py | 82 cpu_count = 1 92 self.assertGreaterEqual(tux_count, cpu_count)
|
| /openbmc/qemu/hw/s390x/ |
| H A D | sclp.c | 111 int cpu_count; in read_SCP_info() local 132 prepare_cpu_entries(machine, entries_start, &cpu_count); in read_SCP_info() 133 read_info->entries_cpu = cpu_to_be16(cpu_count); in read_SCP_info() 188 int cpu_count; in sclp_read_cpu_info() local 199 prepare_cpu_entries(machine, cpu_info->entries, &cpu_count); in sclp_read_cpu_info() 200 cpu_info->nr_configured = cpu_to_be16(cpu_count); in sclp_read_cpu_info()
|
| /openbmc/u-boot/tools/concurrencytest/ |
| H A D | concurrencytest.py | 28 from multiprocessing import cpu_count 43 CPU_COUNT = cpu_count()
|
| /openbmc/openbmc-tools/rootfs_size/ |
| H A D | rootfs_size.py | 9 from multiprocessing import Pool, cpu_count 38 default=int(cpu_count()),
|
| /openbmc/u-boot/tools/ |
| H A D | genboardscfg.py | 430 cpu_count = multiprocessing.cpu_count() 432 cpu_count = 1 438 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
|
| H A D | moveconfig.py | 1783 cpu_count = multiprocessing.cpu_count() 1785 cpu_count = 1 1821 parser.add_option('-j', '--jobs', type='int', default=cpu_count,
|
| /openbmc/qemu/target/i386/kvm/ |
| H A D | vmsr_energy.c | 168 unsigned int cpu_count = 0; in vmsr_get_maxcpus() local 180 cpu_count++; in vmsr_get_maxcpus() 186 return cpu_count; in vmsr_get_maxcpus()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/clang/ |
| H A D | common-clang.inc | 22 export PIGZ = "-p ${@oe.utils.cpu_count(at_least=2)}"
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | open_power_utils.robot | 131 ${cpu_count}= Get Functional Processor Count 132 Log To Console Functional Processor count: ${cpu_count} 134 FOR ${num} IN RANGE ${0} ${cpu_count} 148 Should Be Equal ${active_occ_count} ${cpu_count} 149 ... msg=OCC count ${active_occ_count} and CPU Count ${cpu_count} mismatched.
|
| /openbmc/u-boot/tools/buildman/ |
| H A D | control.py | 268 options.threads = min(multiprocessing.cpu_count(), len(selected)) 270 options.jobs = max(1, (multiprocessing.cpu_count() +
|
| /openbmc/u-boot/tools/binman/ |
| H A D | binman | 83 fork_for_tests(processes or multiprocessing.cpu_count()))
|
| H A D | binman.py | 83 fork_for_tests(processes or multiprocessing.cpu_count()))
|
| /openbmc/openbmc-build-scripts/scripts/ |
| H A D | unit-test.py | 290 str(multiprocessing.cpu_count()), 293 str(multiprocessing.cpu_count()), 390 str(multiprocessing.cpu_count()), 791 str(multiprocessing.cpu_count()),
|
| /openbmc/qemu/tests/vm/ |
| H A D | basevm.py | 575 if multiprocessing.cpu_count() > 1: 577 return multiprocessing.cpu_count() // 2 583 return min(multiprocessing.cpu_count() // 2, 8)
|
| /openbmc/entity-manager/scripts/ |
| H A D | validate_configs.py | 31 return os.cpu_count() or 1
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | utils.py | 254 def cpu_count(at_least=1, at_most=64): function 269 return int(d.getVar("BB_NUMBER_THREADS") or os.cpu_count() or 1)
|
| /openbmc/openbmc/poky/meta/recipes-rt/rt-tests/files/ |
| H A D | rt_bmark.py | 136 cpu_cnt = str(multiprocessing.cpu_count())
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/toybox/ |
| H A D | toybox_0.8.12.bb | 38 HOSTCC="${BUILD_CC}" CPUS=${@oe.utils.cpu_count()} V=1'
|