πŸ‘¨β€πŸ’»πŸ€¦β€β™‚οΈ Oh joy, another 14-minute ramble about counting things on Apple Silicon, because that's exactly what we were missing in our lives. Someone built a tool to fetch data no one asked for, and we bet it’s as exciting as watching paint dry on a new M1 chip. πŸŽ‰πŸ”
https://blog.bugsiki.dev/posts/apple-pmu/ #AppleSilicon #DataTool #TechRamble #M1Chip #DeveloperHumor #SoftwareNews #HackerNews #ngated
PMU Counters on Apple Silicon

Last time I wrote about profiling in Zig on Apple Silicon, I touched on PMU counter profiling. This time I decided to go further and create my own tool to fetch all available counters for Apple Silicon processors (M1, M2, and later). Brief explanation of PMU counters PMU (Performance Monitoring Unit) counters are hardware counters that track microarchitectural events inside the CPU, e.g. executed instructions, retired operations, branches, cache misses, and more.