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?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,442 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,453 questions
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 25,571 Reputation points Microsoft Vendor
    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful