Searched refs:npmc (Results 1 - 6 of 6) sorted by relevance
/freebsd-9.3-release/usr.sbin/pmccontrol/ |
H A D | pmccontrol.c | 137 int c, error, i, j, ncpu, npmc, t; local 147 npmc = 0; 153 npmc = t > npmc ? t : npmc; 156 if (npmc == 0) 159 if ((map = malloc(npmc * ncpu)) == NULL) 162 (void) memset(map, PMCC_OP_IGNORE, npmc*ncpu); 174 if (pmc >= npmc) 178 *((M) + (C)*npmc 228 int c, cpu, n, npmc, ncpu; local [all...] |
/freebsd-9.3-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 | 113 int core_ri, n, npmc; local 121 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 124 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 126 cc = malloc(sizeof(struct core_cpu) + npmc * sizeof(struct pmc_hw), 135 for (n = 0, phw = cc->pc_corepmcs; n < npmc; n++, phw++) { 149 int core_ri, n, npmc; local 169 npmc = md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAP].pcd_num; 172 for (n = 0; n < npmc; n++) { 180 npmc += md->pmd_classdep[PMC_MDEP_CLASS_INDEX_IAF].pcd_num; 183 for (n = 0; n < npmc; 498 iaf_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth) argument 2384 iap_initialize(struct pmc_mdep *md, int maxcpu, int npmc, int pmcwidth, int flags) argument [all...] |
H A D | hwpmc_mod.c | 3042 uint32_t cpu, n, npmc; local 3070 npmc = md->pmd_npmc; 3072 pmcinfo_size = npmc * sizeof(struct pmc_info); 4802 ("[pmc,%d] npmc miscomputed: ri=%d, md->npmc=%d", __LINE__,
|
/freebsd-9.3-release/usr.sbin/pmcstat/ |
H A D | pmcstat.c | 556 int hcpu, option, npmc, ncpu; local 1115 if ((npmc = pmc_npmc(0)) < 0) /* assume all CPUs are identical */
|
/freebsd-9.3-release/lib/libpmc/ |
H A D | libpmc.c | 3330 int nbytes, npmc; local 3333 if ((npmc = pmc_npmc(cpu)) < 0) 3337 npmc * sizeof(struct pmc_info);
|
Completed in 135 milliseconds