开发者

.NET Measuring system LLC misses per second

开发者 https://www.devze.com 2023-04-12 03:25 出处:网络
I\'m interested in writing a program to measure performance data about a windows system. For measuring memory throughput, it has been suggested that counting last-level cache misses is a fast solution

I'm interested in writing a program to measure performance data about a windows system. For measuring memory throughput, it has been suggested that counting last-level cache misses is a fast solution. Is there a way to measure开发者_如何学C this for a computer using .NET? If not, how can it be measured with Win32? Thank you.


You can't. You have to write a kernel mode driver to get these counters from the CPU PMC unit.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号