ITADN

Performance counters issue on Linux and macOS Intel/M1/M2

#89ClosedZabrane 创建于 2024-01-27
Z
Zabranecommented
Hi @lemire After reading your post [Counting cycles and instructions on ARM-based Apple systems](https://lemire.me/blog/2023/03/21/counting-cycles-and-instructions-on-arm-based-apple-systems/), i tried your library on my mac M1 (and Linux of course9. The task was to measure how fast I can count all occurrences of a specific word in a very large file: ```text 855.99 ns/word 0.00 instructions/word 0.00 cycles/word nan instructions/cycle ``` As you can see, only the first column `855.99 ns/word` is reported. The remaining ones are always empty. The same happens on Linux and mac Intel. Help appreciated. Thanks
关闭于 2024-01-29 8 条评论