Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 25 of 955) sorted by relevance

12345678910>>...39

/trueos/sys/gnu/dts/arm/
HDaxm5516-cpus.dtsi17 cpu-map {
20 cpu = <&CPU0>;
23 cpu = <&CPU1>;
26 cpu = <&CPU2>;
29 cpu = <&CPU3>;
34 cpu = <&CPU4>;
37 cpu = <&CPU5>;
40 cpu = <&CPU6>;
43 cpu = <&CPU7>;
48 cpu = <&CPU8>;
[all …]
/trueos/usr.sbin/sa/tests/
HDv2-sparc64-u.out1 0 0.019 cpu 163k mem 0 io accton
2 0 1.644 cpu 272k mem 0 io awk
3 0 0.029 cpu 175k mem 0 io time
4 0 0.019 cpu 163k mem 0 io sleep
5 0 0.032 cpu 214k mem 35 io fsck_ufs
6 0 0.028 cpu 213k mem 10 io fsck_ufs
7 0 0.028 cpu 189k mem 8 io fsck_ufs
8 0 0.028 cpu 196k mem 7 io fsck_ufs
9 0 0.055 cpu 168k mem 0 io fsck
10 0 0.008 cpu 204k mem 0 io sh*
[all …]
HDv1-sparc64-u.out1 0 0.016 cpu 162k mem 0 io accton
2 0 1.609 cpu 273k mem 0 io awk
3 0 0.016 cpu 174k mem 0 io time
4 0 29.750 cpu 233k mem 26 io egrep
5 0 0.016 cpu 161k mem 0 io time
6 0 5.516 cpu 184k mem 4437 io find
7 0 0.016 cpu 156k mem 0 io time
8 0 0.000 cpu 136k mem 0 io sleep
9 0 0.016 cpu 152k mem 0 io time
10 0 0.562 cpu 161k mem 16 io dd
[all …]
HDv2-amd64-u.out1 0 0.002 cpu 68k mem 0 io accton
2 0 0.163 cpu 35k mem 0 io awk
3 0 0.003 cpu 0k mem 0 io time
4 0 3.247 cpu 29k mem 26 io egrep
5 0 0.003 cpu 93k mem 0 io time
6 0 0.822 cpu 19k mem 4472 io find
7 0 0.003 cpu 0k mem 0 io time
8 0 0.002 cpu 0k mem 0 io sleep
9 0 0.004 cpu 88k mem 0 io time
10 0 0.076 cpu 18k mem 16 io dd
[all …]
HDv1-amd64-u.out1 0 0.000 cpu 0k mem 0 io accton
2 0 0.172 cpu 41k mem 0 io awk
3 0 0.000 cpu 140k mem 0 io time
4 0 3.031 cpu 45k mem 1 io egrep
5 0 0.000 cpu 0k mem 0 io time
6 0 0.250 cpu 42k mem 1087 io find
7 0 0.000 cpu 0k mem 0 io time
8 0 0.000 cpu 0k mem 0 io sleep
9 0 0.000 cpu 57k mem 0 io time
10 0 0.016 cpu 31k mem 16 io dd
[all …]
HDv2-i386-u.out1 0 0.001 cpu 0k mem 0 io accton
2 0 0.448 cpu 112k mem 0 io awk
3 0 0.001 cpu 0k mem 0 io time
4 0 6.680 cpu 110k mem 0 io egrep
5 0 0.001 cpu 0k mem 0 io time
6 0 0.248 cpu 108k mem 0 io find
7 0 0.001 cpu 0k mem 0 io time
8 0 0.001 cpu 0k mem 0 io sleep
9 0 0.001 cpu 0k mem 0 io time
10 0 0.025 cpu 103k mem 16 io dd
[all …]
HDv1-i386-u.out1 0 0.000 cpu 264k mem 0 io accton
2 0 0.453 cpu 41k mem 0 io awk
3 0 0.000 cpu 0k mem 0 io time
4 0 4.984 cpu 41k mem 28 io egrep
5 0 0.000 cpu 140k mem 0 io time
6 0 0.266 cpu 36k mem 3921 io find
7 0 0.000 cpu 0k mem 0 io time
8 0 0.000 cpu 0k mem 0 io sleep
9 0 0.000 cpu 0k mem 0 io time
10 0 0.016 cpu 25k mem 16 io dd
[all …]
/trueos/sys/dev/hwpmc/
HDhwpmc_tsc.c71 tsc_allocate_pmc(int cpu, int ri, struct pmc *pm, in tsc_allocate_pmc() argument
74 (void) cpu; in tsc_allocate_pmc()
76 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in tsc_allocate_pmc()
77 ("[tsc,%d] illegal CPU value %d", __LINE__, cpu)); in tsc_allocate_pmc()
98 tsc_config_pmc(int cpu, int ri, struct pmc *pm) in tsc_config_pmc() argument
102 PMCDBG3(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm); in tsc_config_pmc()
104 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in tsc_config_pmc()
105 ("[tsc,%d] illegal CPU value %d", __LINE__, cpu)); in tsc_config_pmc()
108 phw = &tsc_pcpu[cpu]->tc_hw; in tsc_config_pmc()
120 tsc_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in tsc_describe() argument
[all …]
HDhwpmc_soft.c96 soft_allocate_pmc(int cpu, int ri, struct pmc *pm, in soft_allocate_pmc() argument
102 (void) cpu; in soft_allocate_pmc()
104 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in soft_allocate_pmc()
105 ("[soft,%d] illegal CPU value %d", __LINE__, cpu)); in soft_allocate_pmc()
135 soft_config_pmc(int cpu, int ri, struct pmc *pm) in soft_config_pmc() argument
139 PMCDBG3(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm); in soft_config_pmc()
141 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in soft_config_pmc()
142 ("[soft,%d] illegal CPU value %d", __LINE__, cpu)); in soft_config_pmc()
146 phw = &soft_pcpu[cpu]->soft_hw[ri]; in soft_config_pmc()
158 soft_describe(int cpu, int ri, struct pmc_info *pi, struct pmc **ppmc) in soft_describe() argument
[all …]
HDhwpmc_amd.c262 amd_read_pmc(int cpu, int ri, pmc_value_t *v) in amd_read_pmc() argument
269 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in amd_read_pmc()
270 ("[amd,%d] illegal CPU value %d", __LINE__, cpu)); in amd_read_pmc()
273 KASSERT(amd_pcpu[cpu], in amd_read_pmc()
274 ("[amd,%d] null per-cpu, cpu %d", __LINE__, cpu)); in amd_read_pmc()
276 pm = amd_pcpu[cpu]->pc_amdpmcs[ri].phw_pmc; in amd_read_pmc()
281 cpu, ri)); in amd_read_pmc()
312 amd_write_pmc(int cpu, int ri, pmc_value_t v) in amd_write_pmc() argument
318 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in amd_write_pmc()
319 ("[amd,%d] illegal CPU value %d", __LINE__, cpu)); in amd_write_pmc()
[all …]
HDhwpmc_ppro.c332 p6_pcpu_init(struct pmc_mdep *md, int cpu) in p6_pcpu_init() argument
339 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in p6_pcpu_init()
340 ("[p6,%d] bad cpu %d", __LINE__, cpu)); in p6_pcpu_init()
342 PMCDBG1(MDP,INI,0,"p6-init cpu=%d", cpu); in p6_pcpu_init()
345 pc = pmc_pcpu[cpu]; in p6_pcpu_init()
347 KASSERT(pc != NULL, ("[p6,%d] cpu %d null per-cpu", __LINE__, cpu)); in p6_pcpu_init()
350 p6_pcpu[cpu] = p6c; in p6_pcpu_init()
356 PMC_PHW_CPU_TO_STATE(cpu) | PMC_PHW_INDEX_TO_STATE(n); in p6_pcpu_init()
365 p6_pcpu_fini(struct pmc_mdep *md, int cpu) in p6_pcpu_fini() argument
371 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in p6_pcpu_fini()
[all …]
HDhwpmc_xscale.c251 xscale_allocate_pmc(int cpu, int ri, struct pmc *pm, in xscale_allocate_pmc() argument
258 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in xscale_allocate_pmc()
259 ("[xscale,%d] illegal CPU value %d", __LINE__, cpu)); in xscale_allocate_pmc()
287 xscale_read_pmc(int cpu, int ri, pmc_value_t *v) in xscale_read_pmc() argument
292 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in xscale_read_pmc()
293 ("[xscale,%d] illegal CPU value %d", __LINE__, cpu)); in xscale_read_pmc()
297 pm = xscale_pcpu[cpu]->pc_xscalepmcs[ri].phw_pmc; in xscale_read_pmc()
309 xscale_write_pmc(int cpu, int ri, pmc_value_t v) in xscale_write_pmc() argument
313 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in xscale_write_pmc()
314 ("[xscale,%d] illegal CPU value %d", __LINE__, cpu)); in xscale_write_pmc()
[all …]
HDhwpmc_ppc970.c341 ppc970_config_pmc(int cpu, int ri, struct pmc *pm) in ppc970_config_pmc() argument
345 PMCDBG3(MDP,CFG,1, "cpu=%d ri=%d pm=%p", cpu, ri, pm); in ppc970_config_pmc()
347 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in ppc970_config_pmc()
348 ("[powerpc,%d] illegal CPU value %d", __LINE__, cpu)); in ppc970_config_pmc()
352 phw = &powerpc_pcpu[cpu]->pc_ppcpmcs[ri]; in ppc970_config_pmc()
364 ppc970_set_pmc(int cpu, int ri, int config) in ppc970_set_pmc() argument
370 phw = &powerpc_pcpu[cpu]->pc_ppcpmcs[ri]; in ppc970_set_pmc()
398 ppc970_start_pmc(int cpu, int ri) in ppc970_start_pmc() argument
406 phw = &powerpc_pcpu[cpu]->pc_ppcpmcs[ri]; in ppc970_start_pmc()
410 error = ppc970_set_pmc(cpu, ri, config); in ppc970_start_pmc()
[all …]
HDhwpmc_uncore.c86 uncore_pcpu_noop(struct pmc_mdep *md, int cpu) in uncore_pcpu_noop() argument
89 (void) cpu; in uncore_pcpu_noop()
94 uncore_pcpu_init(struct pmc_mdep *md, int cpu) in uncore_pcpu_init() argument
101 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in uncore_pcpu_init()
102 ("[ucf,%d] insane cpu number %d", __LINE__, cpu)); in uncore_pcpu_init()
104 PMCDBG1(MDP,INI,1,"uncore-init cpu=%d", cpu); in uncore_pcpu_init()
113 uncore_pcpu[cpu] = cc; in uncore_pcpu_init()
114 pc = pmc_pcpu[cpu]; in uncore_pcpu_init()
117 ("[uncore,%d] NULL per-cpu structures cpu=%d", __LINE__, cpu)); in uncore_pcpu_init()
121 PMC_PHW_CPU_TO_STATE(cpu) | in uncore_pcpu_init()
[all …]
HDhwpmc_mips.c70 mips_allocate_pmc(int cpu, int ri, struct pmc *pm, in mips_allocate_pmc() argument
78 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in mips_allocate_pmc()
79 ("[mips,%d] illegal CPU value %d", __LINE__, cpu)); in mips_allocate_pmc()
103 config = mips_get_perfctl(cpu, ri, event, caps); in mips_allocate_pmc()
114 mips_read_pmc(int cpu, int ri, pmc_value_t *v) in mips_read_pmc() argument
119 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in mips_read_pmc()
120 ("[mips,%d] illegal CPU value %d", __LINE__, cpu)); in mips_read_pmc()
124 pm = mips_pcpu[cpu]->pc_mipspmcs[ri].phw_pmc; in mips_read_pmc()
137 mips_write_pmc(int cpu, int ri, pmc_value_t v) in mips_write_pmc() argument
141 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in mips_write_pmc()
[all …]
HDhwpmc_piv.c463 #define P4_CPU_TO_FLAG(C) (P4_CPU_IS_HTT_SECONDARY(cpu) ? 0x2 : 0x1)
523 #define P4_CPU_IS_HTT_SECONDARY(cpu) \ argument
524 (p4_system_has_htt ? ((cpu) & 1) : 0)
525 #define P4_TO_HTT_PRIMARY(cpu) \ argument
526 (p4_system_has_htt ? ((cpu) & ~1) : (cpu))
555 p4_pcpu_init(struct pmc_mdep *md, int cpu) in p4_pcpu_init() argument
563 KASSERT(cpu >= 0 && cpu < pmc_cpu_max(), in p4_pcpu_init()
564 ("[p4,%d] insane cpu number %d", __LINE__, cpu)); in p4_pcpu_init()
566 PMCDBG2(MDP,INI,0, "p4-init cpu=%d is-primary=%d", cpu, in p4_pcpu_init()
567 pmc_cpu_is_primary(cpu) != 0); in p4_pcpu_init()
[all …]
/trueos/contrib/gcc/config/i386/
HDdriver-i386.c64 const char *cpu = NULL; in host_detect_local_cpu() local
158 cpu = "core2"; in host_detect_local_cpu()
162 cpu = "nocona"; in host_detect_local_cpu()
164 cpu = "prescott"; in host_detect_local_cpu()
167 cpu = "pentium4"; in host_detect_local_cpu()
169 cpu = "pentiumpro"; in host_detect_local_cpu()
171 cpu = "pentium-mmx"; in host_detect_local_cpu()
173 cpu = "pentium"; in host_detect_local_cpu()
175 cpu = "i386"; in host_detect_local_cpu()
178 cpu = "generic"; in host_detect_local_cpu()
[all …]
/trueos/sys/dev/cpuctl/
HDcpuctl.c68 static int cpuctl_do_msr(int cpu, cpuctl_msr_args_t *data, u_long cmd,
70 static void cpuctl_do_cpuid(int cpu, cpuctl_cpuid_args_t *data,
72 static void cpuctl_do_cpuid_count(int cpu, cpuctl_cpuid_count_args_t *data,
74 static int cpuctl_do_update(int cpu, cpuctl_update_args_t *data,
76 static int update_intel(int cpu, cpuctl_update_args_t *args,
78 static int update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td);
79 static int update_via(int cpu, cpuctl_update_args_t *args,
96 cpu_enabled(int cpu) in cpu_enabled() argument
99 return (pmc_cpu_is_disabled(cpu) == 0); in cpu_enabled()
120 set_cpu(int cpu, struct thread *td) in set_cpu() argument
[all …]
/trueos/sys/cddl/contrib/opensolaris/uts/common/sys/
HDcpuvar.h81 typedef struct cpu { struct
85 struct cpu *cpu_self; /* pointer to itself */ argument
104 struct cpu *cpu_next; /* next existing CPU */ argument
105 struct cpu *cpu_prev; /* prev existing CPU */ argument
106 struct cpu *cpu_next_onln; /* next online (enabled) CPU */ argument
107 struct cpu *cpu_prev_onln; /* prev online (enabled) CPU */ argument
108 struct cpu *cpu_next_part; /* next CPU in partition */ argument
109 struct cpu *cpu_prev_part; /* prev CPU in partition */ argument
110 struct cpu *cpu_next_lgrp; /* next CPU in latency group */ argument
111 struct cpu *cpu_prev_lgrp; /* prev CPU in latency group */ argument
[all …]
/trueos/sys/ofed/drivers/net/mlx4/
HDsys_tune.c76 int cpu = smp_processor_id(); in sys_tune_pm_idle() local
78 busy_cpus_ptr = &(busy_cpu_count[per_cpu(idle_cpu_group, cpu)]); in sys_tune_pm_idle()
80 sys_tune_set_state(cpu, 2); in sys_tune_pm_idle()
94 sys_tune_set_state(cpu, 3); in sys_tune_pm_idle()
104 sys_tune_set_state(cpu, 1); in sys_tune_pm_idle()
111 sys_tune_set_state(cpu, 0); in sys_tune_pm_idle()
150 static int sys_tune_cpu_group(int cpu) in sys_tune_cpu_group() argument
159 mask = topology_thread_cpumask(cpu); in sys_tune_cpu_group()
161 return cpu; in sys_tune_cpu_group()
163 for_each_cpu_mask(cpu, *(mask)) { in sys_tune_cpu_group()
[all …]
/trueos/contrib/binutils/bfd/po/
HDSRC-POTFILES.in64 cpu-alpha.c
65 cpu-arc.c
66 cpu-arm.c
67 cpu-avr.c
68 cpu-bfin.c
69 cpu-cr16.c
70 cpu-cr16c.c
71 cpu-cris.c
72 cpu-crx.c
73 cpu-d10v.c
[all …]
/trueos/sys/ia64/ia64/
HDhighfp.c52 ia64_highfp_ipi(struct pcpu *cpu) in ia64_highfp_ipi() argument
56 ipi_send(cpu, ia64_ipi_highfp); in ia64_highfp_ipi()
57 error = msleep_spin(&cpu->pc_fpcurthread, &ia64_highfp_mtx, in ia64_highfp_ipi()
67 struct pcpu *cpu; in ia64_highfp_drop() local
72 cpu = pcb->pcb_fpcpu; in ia64_highfp_drop()
73 if (cpu != NULL) { in ia64_highfp_drop()
74 KASSERT(cpu->pc_fpcurthread == td, in ia64_highfp_drop()
78 cpu->pc_fpcurthread = NULL; in ia64_highfp_drop()
82 return ((cpu != NULL) ? 1 : 0); in ia64_highfp_drop()
89 struct pcpu *cpu; in ia64_highfp_enable() local
[all …]
/trueos/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
HDtst.allcpus.ksh43 cpu=0
61 /cpus[cpu] != 1/
63 cpus[cpu] = 1;
64 @a[cpu] = count();
77 while [ $cpu -le $numproc ]
79 if [ "`psrinfo -s $cpu 2> /dev/null`" -eq 1 ]; then
80 printf "%9d %16d\n" $cpu 1 >> $scriptout
82 allpids[$cpu]=$!
83 pbind -b $cpu $!
85 cpu=$(($cpu+1))
[all …]
/trueos/sys/cddl/dev/dtrace/
HDdtrace_debug.c49 dtrace_debug_lock(int cpu) in dtrace_debug_lock() argument
55 …while (atomic_cmpset_acq_ptr(&dtrace_debug_data[cpu].lock, 0, tid) == 0) /* Loop until the lock i… in dtrace_debug_lock()
60 dtrace_debug_unlock(int cpu) in dtrace_debug_unlock() argument
62 atomic_store_rel_ptr(&dtrace_debug_data[cpu].lock, 0); in dtrace_debug_unlock()
155 dtrace_debug__putc(int cpu, char c) in dtrace_debug__putc() argument
159 d = &dtrace_debug_data[cpu]; in dtrace_debug__putc()
177 int cpu; in dtrace_debug_putc() local
179 cpu = curcpu; in dtrace_debug_putc()
180 dtrace_debug_lock(cpu); in dtrace_debug_putc()
182 dtrace_debug__putc(cpu, c); in dtrace_debug_putc()
[all …]
/trueos/sys/mips/sibyte/
HDsb_scd.c69 #define INTSRC_MASK_ADDR(cpu) \ argument
70 (MIPS_PHYS_TO_KSEG1(0x10020028) | ((cpu) << 13))
72 #define INTSRC_MAP_ADDR(cpu, intsrc) \ argument
73 (MIPS_PHYS_TO_KSEG1(0x10020200) | ((cpu) << 13)) + (intsrc * 8)
75 #define MAILBOX_SET_ADDR(cpu) \ argument
76 (MIPS_PHYS_TO_KSEG1(0x100200C8) | ((cpu) << 13))
78 #define MAILBOX_CLEAR_ADDR(cpu) \ argument
79 (MIPS_PHYS_TO_KSEG1(0x100200D0) | ((cpu) << 13))
133 sb_disable_intsrc(int cpu, int src) in sb_disable_intsrc() argument
138 regaddr = INTSRC_MASK_ADDR(cpu); in sb_disable_intsrc()
[all …]

12345678910>>...39