Home
last modified time | relevance | path

Searched refs:cur_cpu (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/ctlstat/
H A Dctlstat.c125 struct ctl_cpu_stats cur_cpu, prev_cpu; member
625 if (F_CPU(ctx) && (getcpu(&ctx->cur_cpu) != 0)) in ctlstat_standard()
633 ctx->cur_total_jiffies = ctx->cur_cpu.user + in ctlstat_standard()
634 ctx->cur_cpu.nice + ctx->cur_cpu.system + in ctlstat_standard()
635 ctx->cur_cpu.intr + ctx->cur_cpu.idle; in ctlstat_standard()
640 ctx->cur_idle = ctx->cur_cpu.idle; in ctlstat_standard()
822 ctx->prev_cpu = ctx->cur_cpu; in get_and_print_stats()
/freebsd/sys/dev/acpica/
H A Dacpi_hpet.c475 int i, j, num_msi, num_timers, num_percpu_et, num_percpu_t, cur_cpu; in hpet_attach() local
716 cur_cpu = CPU_FIRST(); in hpet_attach()
720 if (cur_cpu == CPU_FIRST()) in hpet_attach()
722 t->pcpu_cpu = cur_cpu; in hpet_attach()
725 pcpu_slaves[cur_cpu] = i; in hpet_attach()
726 bus_bind_intr(dev, t->intr_res, cur_cpu); in hpet_attach()
727 cur_cpu = CPU_NEXT(cur_cpu); in hpet_attach()