Searched refs:pmc_config_t (Results 1 - 2 of 2) sorted by relevance
/xnu-2782.1.97/osfmk/pmc/ |
H A D | pmc.h | 45 * 3. Performance Counter Configs (pmc_config_t) - represents the settings 76 typedef struct pmc_config *pmc_config_t; typedef in typeref:struct:pmc_config 151 * @result NULL on failure, or a pmc_config_t on success. 528 pmc_config_t config; // counter configuration 558 kern_return_t pmc_create_config(pmc_t pmc, pmc_config_t *config); 566 void pmc_free_config(pmc_t pmc, pmc_config_t config); 574 kern_return_t pmc_config_set_value(pmc_t pmc, pmc_config_t config, uint8_t id, uint64_t value); 582 kern_return_t pmc_config_set_interrupt_threshold(pmc_t pmc, pmc_config_t config, uint64_t threshold, pmc_interrupt_method_t method, void *refCon); 648 kern_return_t pmc_reserve(pmc_t pmc, pmc_config_t config, pmc_reservation_t *reservation); 661 kern_return_t pmc_reserve_task(pmc_t pmc, pmc_config_t confi [all...] |
H A D | pmc.c | 139 * pmc_config is the data behind a pmc_config_t. 163 * pmc_config_t - 32 bytes 167 * pmc_config_t within. 617 /* Allocate a pmc_config_t */ 618 static pmc_config_t pmc_config_alloc(pmc_t pmc __unused) { 619 return (pmc_config_t)zalloc(perf_small_zone); 622 /* Free a pmc_config_t, and underlying pmc_config_object_t (if needed) */ 623 static void pmc_config_free(pmc_t pmc, pmc_config_t config) { 1672 * This method assumes the reservation has a valid pmc_config_t within. 2006 kern_return_t pmc_create_config(pmc_t pmc, pmc_config_t *confi [all...] |
Completed in 24 milliseconds