diff options
author | 2016-08-29 15:16:31 +0200 | |
---|---|---|
committer | 2016-08-29 15:16:31 +0200 | |
commit | e4682d427960560a55e148610ce60faf08a2a0cd (patch) | |
tree | 400078565995d4af2d36089d958b52fbf739984c /src/shared/perfcnt/intel/counters.rs | |
parent | b149e05c89d72f60efc2ba965289fd521453019e (diff) | |
download | rust-x86-e4682d427960560a55e148610ce60faf08a2a0cd.tar.gz rust-x86-e4682d427960560a55e148610ce60faf08a2a0cd.tar.zst rust-x86-e4682d427960560a55e148610ce60faf08a2a0cd.zip |
Move perfcnt and cpuid module in shared as they are architecture independent.
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
Diffstat (limited to 'src/shared/perfcnt/intel/counters.rs')
-rw-r--r-- | src/shared/perfcnt/intel/counters.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/shared/perfcnt/intel/counters.rs b/src/shared/perfcnt/intel/counters.rs new file mode 100644 index 0000000..e2987cc --- /dev/null +++ b/src/shared/perfcnt/intel/counters.rs @@ -0,0 +1,12 @@ +//! Performance counter for all Intel architectures. +/// The content of this file is automatically generated by `build.rs` +/// from the data in `x86data/perfmon_data`. + +use phf; +use super::description::IntelPerformanceCounterDescription; +use super::description::Counter; +use super::description::PebsType; +use super::description::Tuple; +use super::description::MSRIndex; + +include!(concat!(env!("OUT_DIR"), "/counters.rs")); |