Lines Matching refs:pmcs
93 * @param pmcs An array of pmc_object_t instances (non-NULL).
94 * @param pmcCount The number of elements in the @pmcs array.
97 typedef kern_return_t (*perfmon_enable_counters_method_t)(perf_monitor_object_t pm, pmc_object_t *pmcs, uint32_t pmcCount);
105 typedef kern_return_t (*perfmon_disable_counters_method_t)(perf_monitor_object_t pm, pmc_object_t *pmcs, uint32_t pmcCount);
587 * @param pmcs Storage for the resultant pmc_t array pointer.
590 kern_return_t pmc_get_pmc_list(pmc_t **pmcs, size_t *pmcCount);
593 * @abstract Free a previously allocated list of pmcs.
595 * @param pmcs PMC list to free.
598 void pmc_free_pmc_list(pmc_t *pmcs, size_t pmcCount);
601 * @abstract Finds pmcs by partial string matching.
602 * @discussion This method returns a list of pmcs (similar to <link>pmc_get_pmc_list</link>) whose names match the given string up to it's length.
603 * For example, searching for "ia32" would return pmcs "ia32gp0" and "ia32gp1". Results should be released by the caller using <link>pmc_free_pmc_list</link>
605 * @param pmcs Storage for the resultant pmc_t array pointer.
608 kern_return_t pmc_find_by_name(const char *name, pmc_t **pmcs, size_t *pmcCount);