Searched refs:npmc (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.1-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.1-release/sys/dev/hwpmc/ |
H A D | hwpmc_uncore.c | 95 int uncore_ri, n, npmc; local 103 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_num; 104 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCF].pcd_num; 106 cc = malloc(sizeof(struct uncore_cpu) + npmc * sizeof(struct pmc_hw), 115 for (n = 0, phw = cc->pc_uncorepmcs; n < npmc; n++, phw++) { 129 int uncore_ri, n, npmc; local 148 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCP].pcd_num; 151 for (n = 0; n < npmc; n++) 155 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_UCF].pcd_num; 157 for (n = 0; n < npmc; 416 ucf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 1153 ucp_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument [all...] |
H A D | hwpmc_core.c | 117 int core_ri, n, npmc; local 125 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 128 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 130 cc = malloc(sizeof(struct core_cpu) + npmc * sizeof(struct pmc_hw), 139 for (n = 0, phw = cc->pc_corepmcs; n < npmc; n++, phw++) { 153 int core_ri, n, npmc; local 173 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 176 for (n = 0; n < npmc; n++) { 184 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 187 for (n = 0; n < npmc; 504 iaf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 2464 iap_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth, int flags) argument [all...] |
H A D | hwpmc_mod.c | 3031 uint32_t cpu, n, npmc; local 3059 npmc = md->pmd_npmc; 3061 pmcinfo_size = npmc * sizeof(struct pmc_info); 4788 ("[pmc,%d] npmc miscomputed: ri=%d, md->npmc=%d", __LINE__,
|
/freebsd-10.1-release/usr.sbin/pmcstat/ |
H A D | pmcstat.c | 556 int hcpu, option, npmc, ncpu; local 1121 if ((npmc = pmc_npmc(0)) < 0) /* assume all CPUs are identical */
|
/freebsd-10.1-release/lib/libpmc/ |
H A D | libpmc.c | 3440 int nbytes, npmc; local 3443 if ((npmc = pmc_npmc(cpu)) < 0) 3447 npmc * sizeof(struct pmc_info);
|
Completed in 126 milliseconds