.NET Measuring system LLC misses per second
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.
精彩评论