Library to program x86 (amd64) hardware. Contains x86 specific data structure descriptions, data-tables, as well as convenience function to call assembly instructions typically not exposed in higher level languages.
//! Performance counter for all Intel architectures.
usesuper::description::{Counter, EventDescription, MSRIndex, PebsType, Tuple};/// The content of this file is automatically generated by `build.rs`
/// from the data in `x86data/perfmon_data`.
use phf;include!(concat!(env!("OUT_DIR"),"/counters.rs"));