CyclesPerByte
measures ticks using the x86 or x86_64 rdtsc
instruction.
Warning This crate measures clock ticks rather than cycles. It will not provide accurate results on modern machines unless you calculate the ratio of ticks to cycles and take steps to ensure that that ratio remains consistent.
```rust
use criterion::{criteriongroup, criterionmain, BenchmarkId, Criterion};
use criterioncyclesperbyte::CyclesPerByte;
//!
fn bench(c: &mut Criterion
Note I am not the original writer but am maintaining this crate because it is still being used in several places. I plan to do version updates and bug fixes as necessary but not to add features or attempt fix the (potentially intractable) problems with this method of measurement.