Home
last modified time | relevance | path

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

/freebsd/lib/libpmc/
H A Dlibpmc.c1397 struct pmc_op_getcpuinfo op_cpu_info; in pmc_init() local
1423 bzero(&op_cpu_info, sizeof(op_cpu_info)); in pmc_init()
1424 if (PMC_CALL(PMC_OP_GETCPUINFO, &op_cpu_info) < 0) in pmc_init()
1427 cpu_info.pm_cputype = op_cpu_info.pm_cputype; in pmc_init()
1428 cpu_info.pm_ncpu = op_cpu_info.pm_ncpu; in pmc_init()
1429 cpu_info.pm_npmc = op_cpu_info.pm_npmc; in pmc_init()
1430 cpu_info.pm_nclass = op_cpu_info.pm_nclass; in pmc_init()
1431 for (n = 0; n < op_cpu_info.pm_nclass; n++) in pmc_init()
1432 memcpy(&cpu_info.pm_classes[n], &op_cpu_info.pm_classes[n], in pmc_init()