Searched refs:pmc_t (Results 1 - 2 of 2) sorted by relevance
/xnu-2782.1.97/osfmk/pmc/ |
H A D | pmc.h | 44 * 2. Performance Counters (pmc_t) - represents each individual counter 459 }*pmc_t; typedef in typeref:struct:pmc 527 pmc_t pmc; // Pointer to in-kernel pmc which is reserved 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); 585 * @abstract Returns an allocated list of all pmc_t's known to the kernel. 587 * @param pmcs Storage for the resultant pmc_t array pointer. 588 * @param pmcCount Storage for the resultant count of pmc_t' [all...] |
H A D | pmc.c | 170 * pmc_t - 144 bytes 489 static void perf_monitor_add_pmc(perf_monitor_t pm, pmc_t pmc __unused) { 501 static void perf_monitor_remove_pmc(perf_monitor_t pm, pmc_t pmc __unused) { 513 static pmc_t pmc_alloc(void) { 514 return (pmc_t)zalloc(perf_big_zone); 522 * pmc_init initializes a newly allocated pmc_t 524 static void pmc_init(pmc_t pmc) { 537 * pmc_reference increments the reference count of the given pmc_t 539 static void pmc_reference(pmc_t pmc) { 546 * pmc_deallocate decrements the reference count of the given pmc_t [all...] |
Completed in 77 milliseconds