Searched refs:pmcid (Results 1 - 9 of 9) sorted by relevance

/freebsd-11-stable/share/examples/hwpmc/
H A Doverhead.c54 pmc_id_t pmcid; local
68 if (pmc_allocate(counter_name, PMC_MODE_SC, 0, 0, &pmcid) < 0)
73 if (pmc_write(pmcid, 0) < 0)
78 if (pmc_start(pmcid) < 0)
83 if (pmc_read(pmcid, &read_value) < 0)
88 if (pmc_stop(pmcid) < 0)
92 if (pmc_rw(pmcid, 0, &read_clear_value))
95 if (pmc_release(pmcid) < 0)
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c175 * (image,pmcid) combination. Return the interned string.
180 pmc_id_t pmcid)
185 pmcname = pmcstat_pmcid_to_name(pmcid);
187 err(EX_SOFTWARE, "ERROR: cannot find pmcid");
236 pmcstat_gmon_append_arc(struct pmcstat_image *image, pmc_id_t pmcid, argument
243 if ((pgf = pmcstat_image_find_gmonfile(image, pmcid)) == NULL)
261 pmcstat_image_find_gmonfile(struct pmcstat_image *image, pmc_id_t pmcid) argument
265 if (pgf->pgf_pmcid == pmcid)
271 pmcstat_cgnode_do_gmon_arcs(struct pmcstat_cgnode *cg, pmc_id_t pmcid) argument
281 pmcstat_gmon_append_arc(cg->pcg_image, pmcid,
179 pmcstat_gmon_create_name(const char *samplesdir, struct pmcstat_image *image, pmc_id_t pmcid) argument
289 pmcstat_callgraph_do_gmon_arcs_for_pmcid(pmc_id_t pmcid) argument
420 pmc_id_t pmcid; local
[all...]
H A Dpmcpl_callgraph.c123 * Look for a callgraph node associated with pmc `pmcid' in the global
128 pmcstat_cgnode_hash_lookup_pc(struct pmcstat_process *pp, pmc_id_t pmcid, argument
165 if (h->pch_pmcid != pmcid)
177 * We haven't seen this (pmcid, pc) tuple yet, so allocate a
184 h->pch_pmcid = pmcid;
334 pmc_id_t pmcid; local
340 * for this (pmcid, pc).
344 pmcid = pmcr->pr_pmcid;
345 parent = pmcstat_cgnode_hash_lookup_pc(pp, pmcid, pc, usermode);
407 pmc_id_t pmcid; local
[all...]
H A Dpmcstat_log.c126 * Each active pmcid has its own callgraph structure, described by a
1052 * Add a {pmcid,name} mapping.
1056 pmcstat_pmcid_add(pmc_id_t pmcid, pmcstat_interned_string ps) argument
1063 if (pr->pr_pmcid == pmcid) {
1076 pr->pr_pmcid = pmcid;
1092 * Given a pmcid in use, find its human-readable name.
1096 pmcstat_pmcid_to_name(pmc_id_t pmcid) argument
1101 if (pr->pr_pmcid == pmcid)
1144 pmcstat_lookup_pmcid(pmc_id_t pmcid) argument
1149 if (pr->pr_pmcid == pmcid) {
[all...]
/freebsd-11-stable/sys/dev/hwpmc/
H A Dhwpmc_mod.c197 static int pmc_find_pmc(pmc_id_t pmcid, struct pmc **pm);
2554 * Find a PMC descriptor with user handle 'pmcid' for thread 'td'.
2558 pmc_find_pmc_descriptor_in_process(struct pmc_owner *po, pmc_id_t pmcid) argument
2562 KASSERT(PMC_ID_TO_ROWINDEX(pmcid) < md->pmd_npmc,
2564 PMC_ID_TO_ROWINDEX(pmcid), md->pmd_npmc));
2567 if (pm->pm_id == pmcid)
2574 pmc_find_pmc(pmc_id_t pmcid, struct pmc **pmc) argument
2581 PMCDBG1(PMC,FND,1, "find-pmc id=%d", pmcid);
2582 if (PMC_ID_TO_ROWINDEX(pmcid) >= md->pmd_npmc)
2595 opm = pp->pp_pmcs[PMC_ID_TO_ROWINDEX(pmcid)]
3724 pmc_id_t pmcid; local
3930 pmc_id_t pmcid; local
3967 pmc_id_t pmcid; local
[all...]
/freebsd-11-stable/lib/libpmc/
H A Dlibpmc.c3481 uint32_t flags, int cpu, pmc_id_t *pmcid)
3567 *pmcid = pmc_config.pm_pmcid;
3590 pmc_capabilities(pmc_id_t pmcid, uint32_t *caps) argument
3595 cl = PMC_ID_TO_CLASS(pmcid);
4637 pmc_width(pmc_id_t pmcid, uint32_t *width) argument
4642 cl = PMC_ID_TO_CLASS(pmcid);
3480 pmc_allocate(const char *ctrspec, enum pmc_mode mode, uint32_t flags, int cpu, pmc_id_t *pmcid) argument
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-pci-defs.h1968 uint32_t pmcid : 8; /**< Power Management Capability ID */ member in struct:cvmx_pci_cfg58::cvmx_pci_cfg58_s
1970 uint32_t pmcid : 8;
H A Dcvmx-pcieepx-defs.h2266 uint32_t pmcid : 8; /**< Power Management Capability ID */ member in struct:cvmx_pcieepx_cfg016::cvmx_pcieepx_cfg016_s
2268 uint32_t pmcid : 8;
H A Dcvmx-pciercx-defs.h2084 uint32_t pmcid : 8; /**< Power Management Capability ID */ member in struct:cvmx_pciercx_cfg016::cvmx_pciercx_cfg016_s
2086 uint32_t pmcid : 8;

Completed in 164 milliseconds