I'm trying to benchmark a small console application on Visual Studio 2013.
I have setup a performance session in instrumentation mode, in which I activated the CPU Counters collection, and I selected "Last Level Cache Misses".
When I get the report of the bench, I can't see any column with this information, not even if I look into the "add/remove columns" menu.
Can you help me?
Thanks in advance.
##Some extra information
Check the output log as you try 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 administrator. If I don't run as administrator the same thing happens for me, no columns appear and that message is displayed.
Alternatively, to save running Visual Studio as administrator, it's possible to grant any user permission to use the performance driver. See https://docs.microsoft.com/en-us/visualstudio/profiling/how-to-set-permissions?view=vs-2017.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With