A cross-platform way to access the current time in "cycles".
Based on https://github.com/google/benchmark/blob/main/src/cycleclock.h
MacOS support based on https://lemire.me/blog/2023/03/21/counting-cycles-and-instructions-on-arm-based-apple-systems/
Supported Architectures:
- AArch64 running MacOS (i.e., Apple Silicon)
- x86_64