diff options
author | 2016-09-08 17:06:08 +0200 | |
---|---|---|
committer | 2016-09-08 17:06:08 +0200 | |
commit | d132572532f4d0ab5f02d0e857e4a28abbf888bb (patch) | |
tree | 4b28777cdf7e81b0178fcade39f953a9a9671a43 | |
parent | e4682d427960560a55e148610ce60faf08a2a0cd (diff) | |
download | rust-x86-d132572532f4d0ab5f02d0e857e4a28abbf888bb.tar.gz rust-x86-d132572532f4d0ab5f02d0e857e4a28abbf888bb.tar.zst rust-x86-d132572532f4d0ab5f02d0e857e4a28abbf888bb.zip |
Added Clone trait for Counter.
Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
-rw-r--r-- | src/shared/perfcnt/intel/description.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/perfcnt/intel/description.rs b/src/shared/perfcnt/intel/description.rs index f64426d..f4705df 100644 --- a/src/shared/perfcnt/intel/description.rs +++ b/src/shared/perfcnt/intel/description.rs @@ -47,6 +47,7 @@ impl fmt::Debug for MSRIndex { } } +#[derive(Clone, Copy)] pub enum Counter { /// Bit-mask containing the fixed counters /// usable with the corresponding performance event. |