Fork me on GitHub
侧边栏
摘要: Does anybody know what is the meaning of stalled-cycles-frontend and stalled-cycles-backend in perf stat result ? I searched on the internet but did n 阅读全文
posted @ 2025-06-21 23:01 yooooooo 阅读(53) 评论(0) 推荐(0)
摘要: 1. 综述 本系列文章旨在解构内核 perf 框架的实现。perf 是一个庞大的系统,所涉及的逻辑板块非常多,因此想要把 perf 框架讲清楚是不容易的。为了让读者能建立起清晰的脉络,本系列文章会根据一定的内在逻辑,逐步展开对各板块的解构。 perf 框架其本身因为考虑了很多 general 的需求 阅读全文
posted @ 2025-06-21 22:52 yooooooo 阅读(51) 评论(0) 推荐(0)
摘要: 许多体系结构都包含PMU(Performance Monitoring Unit)硬件,用于跟踪、计数系统内部的一些底层硬件事件,如与CPU有关的事件(执行指令数、捕获异常数、时钟周期数等)、与cache有关的事件(data/inst./L1/L2 cache访问次数,miss次数等)以及与TLB有 阅读全文
posted @ 2025-06-21 10:44 yooooooo 阅读(235) 评论(0) 推荐(1)