Searched refs:npmc (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.2-release/usr.sbin/pmccontrol/ |
H A D | pmccontrol.c | 128 int c, error, i, j, ncpu, npmc, t; local 138 npmc = 0; 144 npmc = t > npmc ? t : npmc; 147 if (npmc == 0) 150 if ((map = malloc(npmc * ncpu)) == NULL) 153 (void) memset(map, PMCC_OP_IGNORE, npmc*ncpu); 165 if (pmc >= npmc) 169 *((M) + (C)*npmc 219 int c, cpu, n, npmc, ncpu; local [all...] |
/freebsd-10.2-release/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 99 int uncore_ri, n, npmc; local 107 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_num; 108 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCF].pcd_num; 110 cc = malloc(sizeof(struct uncore_cpu) + npmc * sizeof(struct pmc_hw), 119 for (n = 0, phw = cc->pc_uncorepmcs; n < npmc; n++, phw++) { 133 int uncore_ri, n, npmc; local 152 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_num; 155 for (n = 0; n < npmc; n++) 159 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCF].pcd_num; 161 for (n = 0; n < npmc; 420 ucf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 1157 ucp_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument [all...] |
H A D | hwpmc_core.c | 121 int core_ri, n, npmc; local 129 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 132 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 134 cc = malloc(sizeof(struct core_cpu) + npmc * sizeof(struct pmc_hw), 143 for (n = 0, phw = cc->pc_corepmcs; n < npmc; n++, phw++) { 157 int core_ri, n, npmc; local 177 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 180 for (n = 0; n < npmc; n++) { 188 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 191 for (n = 0; n < npmc; 512 iaf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 2506 iap_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth, int flags) argument [all...] |
H A D | hwpmc_mod.c | 3035 uint32_t cpu, n, npmc; local 3063 npmc = md->pmd_npmc; 3065 pmcinfo_size = npmc * sizeof(struct pmc_info); 4790 ("[pmc,%d] npmc miscomputed: ri=%d, md->npmc=%d", __LINE__,
|
/freebsd-10.2-release/usr.sbin/pmcstat/ |
H A D | pmcstat.c | 556 int hcpu, option, npmc, ncpu; local 1126 if ((npmc = pmc_npmc(0)) < 0) /* assume all CPUs are identical */
|
/freebsd-10.2-release/lib/libpmc/ |
H A D | libpmc.c | 3463 int nbytes, npmc; local 3466 if ((npmc = pmc_npmc(cpu)) < 0) 3470 npmc * sizeof(struct pmc_info);
|
Completed in 184 milliseconds