is there a windows equivalent of the linux command \"perf stat\"? For example to see frontend stalls, cache misses and other performance counter data?
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:
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.