Searched refs:pmcs (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/osfmk/pmc/
H A Dpmc.h93 * @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 b
[all...]
H A Dpmc.c279 * registering and reserving individual pmcs and perf monitors.
2142 kern_return_t pmc_get_pmc_list(pmc_t **pmcs, size_t *pmcCount) { argument
2187 *pmcs = array;
2199 void pmc_free_pmc_list(pmc_t *pmcs, size_t pmcCount) { argument
2200 if(pmcs && pmcCount) {
2201 COUNTER_DEBUG("pmcs: %p pmcCount: %lu\n", pmcs, pmcCount);
2203 kfree(pmcs, pmcCount * sizeof(pmc_t));
2207 kern_return_t pmc_find_by_name(const char *name, pmc_t **pmcs, size_t *pmcCount) { argument
2210 if(!name || !pmcs || !pmcCoun
[all...]

Completed in 75 milliseconds