8

is there a windows equivalent of the linux command "perf stat"? For example to see frontend stalls, cache misses and other performance counter data?

1

2 Answers 2

4

perf is Linux-only profiler capable to access hardware event counters (cache miss, cpu stalls, etc). This profiler supports many CPUs, but can't be used in MS Windows.

For Windows you may try profilers from your CPU vendor:

1
  • 2
    Note: The "Performance Explorer" feature (and by that "CPU Counters") is only available for Visual Studio Ultimate, Visual Studio Premium and Visual Studio Professional.
    – user2354690
    Oct 6, 2018 at 12:11
4

Some people who find this question might be actually looking for xperf, or the new ETW stuff which is replacing it which could be downloaded here.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.