Searched refs:pmc_reservation_t (Results 1 - 2 of 2) sorted by relevance
/darwin-on-arm/xnu/osfmk/pmc/ |
H A D | pmc.c | 162 * pmc_reservation_t - 48 bytes 655 static kern_return_t pmc_internal_reservation_set_pmc(pmc_reservation_t resv, pmc_t pmc); 656 static void pmc_internal_reservation_store(pmc_reservation_t reservation); 657 static void pmc_internal_reservation_load(pmc_reservation_t reservation); 659 static pmc_reservation_t reservation_alloc(void) { 661 return (pmc_reservation_t)zalloc(perf_small_zone); 666 * given pmc_reservation_t. This includes freeing the config used to create the 670 static void reservation_free(pmc_reservation_t resv) { 690 static void reservation_init(pmc_reservation_t resv) { 718 static kern_return_t pmc_internal_reservation_set_pmc(pmc_reservation_t res [all...] |
H A D | pmc.h | 47 * 4. Performance Counter Reservations (pmc_reservation_t) - represents a config along 73 typedef struct pmc_reservation *pmc_reservation_t; typedef in typeref:struct:pmc_reservation 177 * @param target The pmc_reservation_t that caused the interrupt 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 config, task_t task, pmc_reservation_t *reservation); 673 kern_return_t pmc_reserve_thread(pmc_t pmc, pmc_config_t config, thread_t thread, pmc_reservation_t *reservation); 682 kern_return_t pmc_reservation_start(pmc_reservation_t reservation); 691 kern_return_t pmc_reservation_stop(pmc_reservation_t reservation); 702 kern_return_t pmc_reservation_read(pmc_reservation_t reservation, uint64_t *value); 713 kern_return_t pmc_reservation_write(pmc_reservation_t reservatio [all...] |
Completed in 73 milliseconds