How to see branch-misses and cache misses in Visual Studio 2022 C++?

卉航 林 20 Reputation points
2023-01-28T02:57:52.46+00:00

In linux, we have "perf" command to see branch-misses.

On windows, is there a corresponding tool to see branch-misses and cache misses of a C++ program?

Developer technologies | C++
Developer technologies | Visual Studio | Other
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-01-30T08:54:17.6866667+00:00

    Hello @卉航 林,

    Welcome to Microsoft Q&A forum.

    I don’t think Visual Studio has the same feature/tool. See if this tool meets your requirement: Windows Performance Toolkit.

    Best Regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.