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

/freebsd-11.0-release/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.0-release/usr.sbin/pmcstat/
H A Dpmcpl_gprof.c173 * (image,pmcid) combination. Return the interned string.
178 pmc_id_t pmcid)
183 pmcname = pmcstat_pmcid_to_name(pmcid);
185 err(EX_SOFTWARE, "ERROR: cannot find pmcid");
234 pmcstat_gmon_append_arc(struct pmcstat_image *image, pmc_id_t pmcid, argument
241 if ((pgf = pmcstat_image_find_gmonfile(image, pmcid)) == NULL)
259 pmcstat_image_find_gmonfile(struct pmcstat_image *image, pmc_id_t pmcid) argument
263 if (pgf->pgf_pmcid == pmcid)
269 pmcstat_cgnode_do_gmon_arcs(struct pmcstat_cgnode *cg, pmc_id_t pmcid) argument
279 pmcstat_gmon_append_arc(cg->pcg_image, pmcid,
177 pmcstat_gmon_create_name(const char *samplesdir, struct pmcstat_image *image, pmc_id_t pmcid) argument
287 pmcstat_callgraph_do_gmon_arcs_for_pmcid(pmc_id_t pmcid) argument
418 pmc_id_t pmcid; local
[all...]
H A Dpmcpl_callgraph.c121 * Look for a callgraph node associated with pmc `pmcid' in the global
126 pmcstat_cgnode_hash_lookup_pc(struct pmcstat_process *pp, pmc_id_t pmcid, argument
163 if (h->pch_pmcid != pmcid)
175 * We haven't seen this (pmcid, pc) tuple yet, so allocate a
182 h->pch_pmcid = pmcid;
332 pmc_id_t pmcid; local
338 * for this (pmcid, pc).
342 pmcid = pmcr->pr_pmcid;
343 parent = pmcstat_cgnode_hash_lookup_pc(pp, pmcid, pc, usermode);
405 pmc_id_t pmcid; local
[all...]
H A Dpmcstat_log.c124 * Each active pmcid has its own callgraph structure, described by a
1050 * Add a {pmcid,name} mapping.
1054 pmcstat_pmcid_add(pmc_id_t pmcid, pmcstat_interned_string ps) argument
1061 if (pr->pr_pmcid == pmcid) {
1074 pr->pr_pmcid = pmcid;
1090 * Given a pmcid in use, find its human-readable name.
1094 pmcstat_pmcid_to_name(pmc_id_t pmcid) argument
1099 if (pr->pr_pmcid == pmcid)
1142 pmcstat_lookup_pmcid(pmc_id_t pmcid) argument
1147 if (pr->pr_pmcid == pmcid) {
[all...]
/freebsd-11.0-release/sys/dev/hwpmc/
H A Dhwpmc_mod.c197 static int pmc_find_pmc(pmc_id_t pmcid, struct pmc **pm);
2558 * Find a PMC descriptor with user handle 'pmcid' for thread 'td'.
2562 pmc_find_pmc_descriptor_in_process(struct pmc_owner *po, pmc_id_t pmcid) argument
2566 KASSERT(PMC_ID_TO_ROWINDEX(pmcid) < md->pmd_npmc,
2568 PMC_ID_TO_ROWINDEX(pmcid), md->pmd_npmc));
2571 if (pm->pm_id == pmcid)
2578 pmc_find_pmc(pmc_id_t pmcid, struct pmc **pmc) argument
2585 KASSERT(PMC_ID_TO_ROWINDEX(pmcid) < md->pmd_npmc,
2587 PMC_ID_TO_ROWINDEX(pmcid), md->pmd_npmc));
2588 PMCDBG1(PMC,FND,1, "find-pmc id=%d", pmcid);
3720 pmc_id_t pmcid; local
3926 pmc_id_t pmcid; local
3963 pmc_id_t pmcid; local
[all...]
/freebsd-11.0-release/lib/libpmc/
H A Dlibpmc.c2756 uint32_t flags, int cpu, pmc_id_t *pmcid)
2842 *pmcid = pmc_config.pm_pmcid;
2865 pmc_capabilities(pmc_id_t pmcid, uint32_t *caps) argument
2870 cl = PMC_ID_TO_CLASS(pmcid);
3886 pmc_width(pmc_id_t pmcid, uint32_t *width) argument
3891 cl = PMC_ID_TO_CLASS(pmcid);
2755 pmc_allocate(const char *ctrspec, enum pmc_mode mode, uint32_t flags, int cpu, pmc_id_t *pmcid) argument
/freebsd-11.0-release/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 140 milliseconds