You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
weight: 1# Defines page ordering. Must be 1 for first (or only) page.
@@ -28,67 +27,76 @@ layout: installtoolsall # DO NOT MODIFY. Always true for tool install articles
28
27
29
28
## Introduction
30
29
31
-
**WindowsPerf** is a lightweight performance profiling tool inspired by Linux perf, specifically tailored for Windows on ARM. It leverages the ARM64 PMU (Performance Monitor Unit) and its hardware counters to offer precise profiling capabilities. Recognizing the complexities of command-line interaction, the WindowsPerf GUI project is a Visual Studio 2022 extension that was initiated to provide a more intuitive, integrated within the development environment (IDE) experience. This tool enables developers to interact with WindowsPerf, adjust settings, and visualize performance data seamlessly within the IDE.
30
+
WindowsPerf is a lightweight performance profiling tool inspired by Linux Perf, and specifically tailored for Windows on Arm. It leverages the ARM64 PMU (Performance Monitor Unit) and its hardware counters to offer precise profiling capabilities.
31
+
32
+
Recognizing the complexities of command-line interaction, the WindowsPerf GUI is a Visual Studio 2022 extension created to provide a more intuitive, integrated experience within the integrated development environment (IDE). This tool enables developers to interact with WindowsPerf, adjust settings, and visualize performance data seamlessly in Visual Studio.
32
33
33
34
## A Glimpse of the available features
34
35
35
36
The WindowsPerf GUI extension is composed of several key features, each designed to streamline the user experience:
36
37
37
38
-**WindowsPerf Configuration**: Connect directly to `wperf.exe` for a seamless integration. Configuration is accessible via `Tools -> Options -> Windows Perf -> WindowsPerf Path`.
38
-
-**Host Data**: Understand your environment with `Tools -> WindowsPerf Host Data`, offering insights into tests run by WindowsPerf and their outcomes.
39
-
-**Output Logging**: All commands executed through the GUI are meticulously logged, ensuring transparency and aiding in performance analysis.
39
+
-**Host Data**: Understand your environment with `Tools -> WindowsPerf Host Data`, offering insights into tests run by WindowsPerf.
40
+
-**Output Logging**: All commands executed through the GUI are logged, ensuring transparency and aiding in performance analysis.
40
41
-**Sampling UI**: Customize your sampling experience by selecting events, setting frequency and duration, choosing programs for sampling, and comprehensively analyzing results.
-**Counting Settings UI**: Build a `wperf stat` command from scratch using the configuration interface, then view the output in the IDE or open it with Windows Performance Analyzer (WPA)
47
+
44
48
45
-
-**Counting Settings UI**: Build a `wperf stat` command from scratch using our configurator, then view the output on the IDE or open it on WPA
-**Visual Studio 2022**: Ensure you have Visual Studio 2022 installed on your Windows on Arm device.
55
-
-**WindowsPerf**: Download and install WindowsPerf. You can follow this [learning path](../wperf) for further details
56
-
-**LLVM** (Optional): You can install the LLVM toolchain by following this [guide](../llvm-woa).
57
+
-**WindowsPerf**: Download and install WindowsPerf by following the [WindowsPerf install guide](/install-guides/wperf/).
58
+
-**LLVM** (Recommended): You can install the LLVM toolchain by following the [LLVM toolchain for Windows on Arm install guide](/install-guides/llvm-woa).
57
59
58
60
{{% notice llvm-objdump %}}
59
61
The disassembly feature needs to have `llvm-objdump` available at `%PATH%` to work properly.
60
62
{{% /notice %}}
61
63
62
-
### Installation (VS Extension Manager)
64
+
### Installation from Visual Studio Extension Manager
63
65
64
-
To install WindowsPerf Visual Studio Extension you can do that from Visual Studio itself.
66
+
To install the WindowsPerf Visual Studio Extension from Visual Studio:
65
67
66
68
1. Open Visual Studio 2022
67
-
2. Go to `Extensions` menu
69
+
2. Go to the `Extensions` menu
68
70
3. Select **Manage Extensions**
69
71
4. Click on the search bar ( or tap `Ctrl` + `L` ) and type `WindowsPerf`
70
72
5. Click on the install button and restart Visual Studio
To install WindowsPerf Visual Studio Extension you can download the installation file directly from our [GitHub release page](https://github.com/arm-developer-tools/windowsperf-vs-extension/releases).
78
+
You can also install the WindowsPerf Visual Studio Extension from GitHub.
79
+
80
+
Download the installation file directly from the [GitHub release page](https://github.com/arm-developer-tools/windowsperf-vs-extension/releases).
77
81
78
82
Unzip the downloaded file and double click on the `WindowsPerfGUI.vsix` file
79
83
80
84
{{% notice Note %}}
81
-
You need to make sure that any previous version of the extension is uninstalled and that Visual Studio is closed before installing the extension.
85
+
Make sure that any previous version of the extension is uninstalled and that Visual Studio is closed before installing the extension.
82
86
{{% /notice %}}
83
87
84
88
### Build from source
85
89
86
-
For those preferring to build from the source, simply clone [the repository](https://github.com/arm-developer-tools/windowsperf-vs-extension) and build the `WindowsPerfGUI` solution using the default configuration on Visual Studio. This alternative installation method offers flexibility and customization.
90
+
To build the source code, clone [the repository](https://github.com/arm-developer-tools/windowsperf-vs-extension) and build the `WindowsPerfGUI` solution using the default configuration in Visual Studio.
91
+
92
+
Building the source is not required, but offered as an alternative installation method if you want to customize the extension.
87
93
88
94
### WindowsPerf Setup
89
95
90
-
To get started, you must link the GUI with the executable file `wperf.exe` by navigating to `Tools -> Options -> WindowsPerf -> WindowsPerf Path`. This step is crucial for utilizing the GUI. The extension **will not work** without it!
96
+
To get started, you must link the GUI with the executable file `wperf.exe` by navigating to `Tools -> Options -> WindowsPerf -> WindowsPerf Path`. This step is crucial for utilizing the GUI, and the extension will not work if you don't do it.
97
+
98
+
## Uninstall the WindowsPerfGUI extension
91
99
92
-
## How to uninstall old WindowsPerfGUI extension
100
+
In Visual Studio go to `Extensions` -> `Manage Extensions` -> `Installed` -> `All` -> `WindowsPerfGUI` and select "Uninstall".
93
101
94
-
In Visual Studio go to `Extensions` -> `Manage Extensions` -> `Installed` -> `All` -> `WindowsPerfGUI` and select "Uninstall". Please note that this will be scheduled by VS. You may need to close VS instance and follow uninstallation wizard to remove extension.
102
+
Please note that this will be scheduled by Visual Studio. You may need to close VS instance and follow uninstall wizard to remove the extension.
0 commit comments