Lines Matching defs:perf_monitor_object_t
61 typedef void * perf_monitor_object_t;
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);
107 typedef void (*perfmon_on_idle_method_t)(perf_monitor_object_t pm);
108 typedef void (*perfmon_on_idle_exit_method_t)(perf_monitor_object_t pm);
213 * @result NULL on failure, or a perf_monitor_object_t on success.
215 typedef perf_monitor_object_t (*pmc_get_monitor_method_t)(pmc_object_t pmc);
356 kern_return_t perf_monitor_register(perf_monitor_object_t monitor, perf_monitor_methods_t *methods);
364 * passed-in perf_monitor_object_t does not match any registered performance monitor, KERN_INVALID_ARGUMENT if
367 kern_return_t perf_monitor_unregister(perf_monitor_object_t monitor);
383 kern_return_t pmc_register(perf_monitor_object_t monitor, pmc_object_t pmc,
395 kern_return_t pmc_unregister(perf_monitor_object_t monitor, pmc_object_t pmc);
416 perf_monitor_object_t object;