Thursday, May 5, 2022

Show HN: Intel PMU Profiling https://ift.tt/WKolexi

Show HN: Intel PMU Profiling See https://ift.tt/XeoUHgD If you've been interested in micro-benchmarking code using Intel's PMU HW capability to capture per HW core metrics, this repository may be for you. The repository includes 'doc/pmu.md' with a copy of Intel's software reference manuals (PDF) so, all in one place, you can understand and develop PMU profiling for your Intel micro architecture. Example included. Source code is 451 LOC with comments. Features: * Minimum, complete * Does not require yum install msr-tools * Header only: include and you're done * Works in user-space and/or kernel code * Very low latency because PMU is * Programmable event types. Includes support for fixed counters * Well documented * Handles thread pinning if requested * Simpler than PAPI, Nanobench, and PCM by one or two orders of 10. May 6, 2022 at 06:41AM

No comments:

Post a Comment

Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB https://ift.tt/KGo8nF3

Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB Hi HN, I think it's safe to say that the majority of develo...