criterion-measurement 0.2.1.0 → 0.2.2.0
raw patch · 3 files changed
+17/−2 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Criterion.Measurement.Types.Internal: data SPEC
+ Criterion.Measurement.Types.Internal: data () => SPEC
Files
- cbits/cycles.c +9/−0
- changelog.md +4/−0
- criterion-measurement.cabal +4/−2
cbits/cycles.c view
@@ -9,6 +9,15 @@ return mach_absolute_time(); } +#elif aarch64_HOST_ARCH++StgWord64 criterion_rdtsc(void)+{+ StgWord64 ret;+ __asm__ __volatile__ ("mrs %0, cntvct_el0" : "=r"(ret));+ return ret;+}+ #elif x86_64_HOST_ARCH || i386_HOST_ARCH StgWord64 criterion_rdtsc(void)
changelog.md view
@@ -1,3 +1,7 @@+0.2.2.0++* Supporting building with all AArch64 platforms (not just Linux and macOS).+ 0.2.1.0 * Make the behavior of the benchmarking functions independent of the
criterion-measurement.cabal view
@@ -1,5 +1,5 @@ name: criterion-measurement-version: 0.2.1.0+version: 0.2.2.0 synopsis: Criterion measurement functionality and associated types description: Measurement-related functionality extracted from Criterion, with minimal dependencies. The rationale for this is to enable alternative analysis front-ends. homepage: https://github.com/haskell/criterion@@ -24,7 +24,9 @@ GHC==8.8.4, GHC==8.10.7, GHC==9.0.2,- GHC==9.2.2+ GHC==9.2.7,+ GHC==9.4.5,+ GHC==9.6.1 flag fast description: compile without optimizations