Detect the microarchitecture under test using a dedicated library such as https://github.com/google/cpu_features (instead of the hacky method used in v1) and extend the microarchitecture-specific performance counter monitoring on x86. (Performance counter access is currently very limited on RISC-V platforms.)
Detect the microarchitecture under test using a dedicated library such as https://github.com/google/cpu_features (instead of the hacky method used in v1) and extend the microarchitecture-specific performance counter monitoring on x86. (Performance counter access is currently very limited on RISC-V platforms.)