Searched refs:npmc (Results 1 - 6 of 6) sorted by relevance
/freebsd-12-stable/usr.sbin/pmccontrol/ |
H A D | pmccontrol.c | 130 int c, error, i, j, ncpu, npmc, t; local 140 npmc = 0; 146 npmc = MAX(t, npmc); 149 if (npmc == 0) 152 if ((map = calloc(npmc, ncpu)) == NULL) 165 if (pmc >= npmc) 169 *((M) + (C)*npmc + (P)) = (V); \ 174 for (j = 0; j < npmc; j++) \ 180 #define MAP(M,C,P) (*((M) + (C)*npmc 219 int c, cpu, n, npmc, ncpu; local [all...] |
/freebsd-12-stable/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 101 int uncore_ri, n, npmc; local 109 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_num; 110 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCF].pcd_num; 112 cc = malloc(sizeof(struct uncore_cpu) + npmc * sizeof(struct pmc_hw), 121 for (n = 0, phw = cc->pc_uncorepmcs; n < npmc; n++, phw++) { 135 int uncore_ri, n, npmc; local 154 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_num; 157 for (n = 0; n < npmc; n++) 161 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCF].pcd_num; 163 for (n = 0; n < npmc; 419 ucf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 786 ucp_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument [all...] |
H A D | hwpmc_core.c | 124 int core_ri, n, npmc; local 132 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 135 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 137 cc = malloc(sizeof(struct core_cpu) + npmc * sizeof(struct pmc_hw), 146 for (n = 0, phw = cc->pc_corepmcs; n < npmc; n++, phw++) { 160 int core_ri, n, npmc; local 180 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 183 for (n = 0; n < npmc; n++) { 191 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 194 for (n = 0; n < npmc; 530 iaf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 1036 iap_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth, int flags) argument [all...] |
H A D | hwpmc_mod.c | 3635 uint32_t cpu, n, npmc; local 3663 npmc = md->pmd_npmc; 3665 pmcinfo_size = npmc * sizeof(struct pmc_info); 5605 ("[pmc,%d] npmc miscomputed: ri=%d, md->npmc=%d", __LINE__,
|
/freebsd-12-stable/lib/libpmc/ |
H A D | libpmc.c | 1745 int nbytes, npmc; local 1748 if ((npmc = pmc_npmc(cpu)) < 0) 1752 npmc * sizeof(struct pmc_info);
|
/freebsd-12-stable/usr.sbin/pmcstat/ |
H A D | pmcstat.c | 432 int option, npmc; local 1053 if ((npmc = pmc_npmc(0)) < 0) /* assume all CPUs are identical */
|
Completed in 236 milliseconds