criterion-papi 0.1.0

an alternative cpu measurement for criterion
Documentation
  • Coverage
  • 0%
    0 out of 3 items documented0 out of 2 items with examples
  • Size
  • Source code size: 36.48 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 549.36 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2m 49s Average build duration of successful builds.
  • all releases: 2m 49s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • YangKeao

criterion-papi

let mut c = criterion::Criterion::default()
    .with_measurement(criterion_papi::PapiMeasurement::new("PAPI_TOT_INS"))
    .configure_from_args();

It accepts any PAPI event as the argument of new, then the counter was used as measurement.