Closed cj-tommi-rantala closed 1 year ago
Check for failures when opening/reading any of the CPU frequency related sysfs files, to avoid needless warning messages.
Plus couple tweaks to the perf events:
PERF_COUNT_HW_CPU_CYCLES
Awesome, thanks!
Check for failures when opening/reading any of the CPU frequency related sysfs files, to avoid needless warning messages.
Plus couple tweaks to the perf events:
PERF_COUNT_HW_CPU_CYCLES
, for example my laptop with AMD Ryzen CPU doesn't have the reference cycles event.