Lines Matching refs:monitor

79  * Method types for performance monitor driver registration
117 * @abstract A set of method pointers to be used when interacting with a performance monitor object
119 * interacting with a new performance monitor from the kernel.
337 * @abstract Registers a new performance monitor driver and its associated pointers.
338 * @discussion Kexts that implement performance monitor drivers will call this method with a
341 * @param monitor A handle to the performance monitor driver instance you are registering. Must not be NULL.
345 * KERN_RESOURCE_SHORTAGE if the kernel lacks the resources to register another performance monitor
356 kern_return_t perf_monitor_register(perf_monitor_object_t monitor, perf_monitor_methods_t *methods);
359 * @abstract Unregisters a performance monitor driver and frees space associated with its pointers.
360 * @discussion Kexts that implement performance monitor drivers will call this method just before they unload
361 * to cause the performance monitor they implement to be removed from the kernel's PMC system.
362 * @param monitor A handle to a performance monitor driver instance that was previously registered with <link>perf_monitor_register</link>
364 * passed-in perf_monitor_object_t does not match any registered performance monitor, KERN_INVALID_ARGUMENT if
365 * the argument is null, KERN_FAILURE if the performance monitor is currently in use.
367 kern_return_t perf_monitor_unregister(perf_monitor_object_t monitor);
374 * @param monitor A handle to a Performance Monitor that was previously registered.
375 * @param pmc A handle to the Performance Counter instance to be attached to the monitor object
383 kern_return_t pmc_register(perf_monitor_object_t monitor, pmc_object_t pmc,
389 * @param monitor The registered Performance Monitor from which to remove a pmc.
395 kern_return_t pmc_unregister(perf_monitor_object_t monitor, pmc_object_t pmc);
408 * @abstract In-kernel object to track a driver-implemented performance monitor.
455 perf_monitor_t monitor;