/freebsd-current/bin/ps/ |
H A D | print.c | 547 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 D | dtrace.c | 1116 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 D | tst.cputime.ksh | 44 sched:::on-cpu 50 sched:::off-cpu
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/cpc/ |
H A D | tst.allcpus.ksh | 43 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 D | tst.temporal2.ksh | 51 * 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 D | tst.oncpu.d | 32 sched:::on-cpu 38 sched:::off-cpu 44 sched:::off-cpu
|
H A D | tst.stackdepth.d | 31 sched:::on-cpu
|
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.basic.ksh | 48 xdt:sched::on-cpu 54 xdt:sched::off-cpu 60 xdt:sched::off-cpu
|
H A D | tst.schedargs.ksh | 49 xdt:sched::off-cpu, 50 xdt:sched::on-cpu,
|
H A D | tst.schedenable.ksh | 55 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 D | sym.c | 123 * 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 D | dt_aggregate.c | 439 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 D | dt_consume.c | 3014 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 D | dt_handle.c | 313 dt_handle_cpudrop(dtrace_hdl_t *dtp, processorid_t cpu, argument 325 drop.dtdda_cpu = cpu; 342 howmany > 1 ? "s" : "", cpu);
|
H A D | dt_subr.c | 505 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 D | fixup_tdescs.c | 70 * 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 D | sched.d | 67 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 D | Makefile | 45 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 D | Opcode.cs | 37 internal abstract void Run(CPU cpu); argument
|
H A D | OpcodeCall.cs | 49 internal override void Run(CPU cpu) argument 51 target.Run(cpu);
|
H A D | OpcodeConst.cs | 37 internal override void Run(CPU cpu) argument 39 cpu.Push(val);
|
H A D | OpcodeGetLocal.cs | 37 internal override void Run(CPU cpu) argument 39 cpu.Push(cpu.GetLocal(num));
|
H A D | OpcodeJump.cs | 47 internal override void Run(CPU cpu) argument 49 cpu.ipOff += disp;
|
H A D | OpcodeJumpIf.cs | 38 internal override void Run(CPU cpu) argument 40 TValue v = cpu.Pop(); 42 base.Run(cpu);
|
H A D | OpcodeJumpIfNot.cs | 38 internal override void Run(CPU cpu) argument 40 TValue v = cpu.Pop(); 42 base.Run(cpu);
|