How to skip cache misses with visual 2013

I am trying to run a small console application on visual 2013.

I established a performance session in tool mode, in which I activated the assembly of CPU counters. And I chose "Last Cache Misses".

But when I get a bench report, I don’t see a column with this information, even if I look at the β€œadd / remove columns” menu.

Could you help me?

Thanks in advance.

## Additional Information

enter image description hereenter image description here

+5
source share
2 answers

Check the output log when trying to run. Is there a line like the one below?

Warning VSP2347: The monitor was unable to start the VS performance driver. Access is denied. Consider using the /Admin:Driver,Start and /Admin:Security options of VSPerfCmd from an elevated environment. Performance counter data and detection of kernel mode execution is disabled. 

If so, try running Visual Studio as an administrator. If I do not start as an administrator, then the same thing happens for me, the columns are not displayed and this message is displayed.

+1
source

If you click the Current View drop-down menu that says "Summary (default page), go to the" Call Tree ", the corresponding columns should be displayed there.

-1
source

Source: https://habr.com/ru/post/1210037/


All Articles