Hardware performance counter events for Apple Silicon.
This crate is auto-generated by darwin-kperf-codegen from the PMC
database plists in /usr/share/kpep/. Do not edit by hand.
Types
- [
Event]: chip-agnostic event enum covering M1 through M5. Use [Event::on] to resolve an event for a specific [Cpu], which checks availability and returns the chip-specific metadata. - [
Cpu]: Apple Silicon chip generation, identified by thekpep_db.namefield at runtime. - [
EventInfo]: trait providing event metadata (name, description, counter mask, etc.), implemented by per-chip enums ([M1Event], [M2Event], ...) and by [ResolvedEvent]. - [
ResolvedEvent]: an [Event] resolved for a specific [Cpu], returned by [Event::on].