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?

skimon
  • 1,149
  • 2
  • 13
  • 26

2 Answers2

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:

Community
  • 1
  • 1
osgx
  • 90,338
  • 53
  • 357
  • 513
  • 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. –  Oct 06 '18 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.

BeeOnRope
  • 60,350
  • 16
  • 207
  • 386
leventov
  • 14,760
  • 11
  • 69
  • 98