Searched refs:cpu (Results 1 - 25 of 733) sorted by path

1234567891011>>

/freebsd-current/bin/ps/
H A Dprint.c547 char *cpu; local
550 asprintf(&cpu, "%d", k->ki_p->ki_oncpu);
552 asprintf(&cpu, "%d", k->ki_p->ki_lastcpu);
554 return (cpu);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/
H A Ddtrace.c1116 processorid_t cpu = data->dtpda_cpu; local
1138 dtrace_oformat_probe(g_dtp, data, cpu, pd);
1145 oprintf("%3d %6d %32s ", cpu, pd->dtpd_id, name);
1165 oprintf("%3d %-41s ", cpu, name);
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh44 sched:::on-cpu
50 sched:::off-cpu
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/
H A Dtst.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
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/
H A Dtst.temporal2.ksh51 * Use two enablings of the same probe, so that cpu 0 will always
60 /cpu == 0/
66 /cpu != 0/
72 /cpu != 0/
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/sched/
H A Dtst.oncpu.d32 sched:::on-cpu
38 sched:::off-cpu
44 sched:::off-cpu
H A Dtst.stackdepth.d31 sched:::on-cpu
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/
H A Dtst.basic.ksh48 xdt:sched::on-cpu
54 xdt:sched::off-cpu
60 xdt:sched::off-cpu
H A Dtst.schedargs.ksh49 xdt:sched::off-cpu,
50 xdt:sched::on-cpu,
H A Dtst.schedenable.ksh55 xdt:sched::off-cpu,
56 xdt:sched::on-cpu,
57 xdt:sched::idle-off-cpu,
58 xdt:sched::idle-on-cpu,
/freebsd-current/cddl/contrib/opensolaris/cmd/lockstat/
H A Dsym.c123 * For consistency, keep cpu[0] and toss cpu0
128 (void) sprintf(name, "cpu[%d]", ksp->ks_instance);
130 sizeof (struct cpu));
147 (void) sprintf(name, "cpu[%d]", i);
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_aggregate.c439 dt_aggregate_snap_cpu(dtrace_hdl_t *dtp, processorid_t cpu) argument
455 buf->dtbd_cpu = cpu;
476 dt_oformat_drop(dtp, cpu);
477 if (dt_handle_cpudrop(dtp, cpu,
595 data = aggdata->dtada_percpu[cpu];
657 if (j == cpu) {
1087 dtrace_optval_t size, cpu; local
1122 rval = dtrace_getopt(dtp, "cpu", &cpu);
1123 assert(rval == 0 && cpu !
[all...]
H A Ddt_consume.c3014 dt_consume_cpu(dtrace_hdl_t *dtp, FILE *fp, int cpu, argument
3030 data.dtpda_cpu = cpu;
3682 dt_oformat_drop(dtp, cpu);
3683 rval = dt_handle_cpudrop(dtp, cpu, DTRACEDROP_PRINCIPAL, drops);
3765 dt_get_buf(dtrace_hdl_t *dtp, int cpu, dtrace_bufdesc_t **bufp) argument
3781 buf->dtbd_cpu = cpu;
3903 processorid_t cpu = dtp->dt_beganon; local
3910 if (dt_get_buf(dtp, cpu, &buf) != 0)
3921 rval = dt_consume_cpu(dtp, fp, cpu, buf, B_FALSE,
3941 rval = dt_consume_cpu(dtp, fp, cpu, bu
4212 dtrace_oformat_probe(dtrace_hdl_t *dtp __unused, const dtrace_probedata_t *data, processorid_t cpu, dtrace_probedesc_t *pd) argument
4223 dt_oformat_drop(dtrace_hdl_t *dtp, processorid_t cpu) argument
[all...]
H A Ddt_handle.c313 dt_handle_cpudrop(dtrace_hdl_t *dtp, processorid_t cpu, argument
325 drop.dtdda_cpu = cpu;
342 howmany > 1 ? "s" : "", cpu);
H A Ddt_subr.c505 dt_status(dtrace_hdl_t *dtp, processorid_t cpu) argument
511 return (p_online(cpu, P_STATUS));
516 return (cpu == 0 ? 1 : -1);
518 return (cpu <= maxid ? 1 : -1);
522 return (v->dtv_status(dtp->dt_varg, cpu));
/freebsd-current/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dfixup_tdescs.c70 * The cpu structure grows, with the addition of a machcpu member, if
71 * _MACHDEP is defined. This means that, for example, the cpu structure
72 * in unix is different from the cpu structure in genunix. As one might
83 tdesc_t *cput, *cpu; local
90 * We're going to take the circuitous route finding the cpu structure,
98 cpu = cput->t_tdesc;
100 cpu = lookup_tdesc(td, "cpu");
103 if (cpu == NULL)
106 if (!streq(cpu
[all...]
/freebsd-current/cddl/lib/libdtrace/
H A Dsched.d67 inline processorid_t cpu = curcpu->cpu_id;
68 #pragma D attributes Stable/Stable/Common cpu
69 #pragma D binding "1.0" cpu
/freebsd-current/cddl/usr.sbin/dwatch/libexec/
H A DMakefile45 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-cpu
51 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-off-cpu
52 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-on-cpu
56 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-remain-cpu
/freebsd-current/contrib/bearssl/T0/
H A DOpcode.cs37 internal abstract void Run(CPU cpu); argument
H A DOpcodeCall.cs49 internal override void Run(CPU cpu) argument
51 target.Run(cpu);
H A DOpcodeConst.cs37 internal override void Run(CPU cpu) argument
39 cpu.Push(val);
H A DOpcodeGetLocal.cs37 internal override void Run(CPU cpu) argument
39 cpu.Push(cpu.GetLocal(num));
H A DOpcodeJump.cs47 internal override void Run(CPU cpu) argument
49 cpu.ipOff += disp;
H A DOpcodeJumpIf.cs38 internal override void Run(CPU cpu) argument
40 TValue v = cpu.Pop();
42 base.Run(cpu);
H A DOpcodeJumpIfNot.cs38 internal override void Run(CPU cpu) argument
40 TValue v = cpu.Pop();
42 base.Run(cpu);

Completed in 281 milliseconds

1234567891011>>