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
Copy file name to clipboardExpand all lines: content/install-guides/wperf.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,26 +30,26 @@ multitool_install_part: false # Set to true if a sub-page of a multi-page arti
30
30
layout: installtoolsall # DO NOT MODIFY. Always true for tool install articles
31
31
---
32
32
33
-
WindowsPerf is a Linux Perfinspired Windows on Arm performance profiling tool. Profiling is based on ARM64 PMU and its hardware counters. WindowsPerf supports the counting model for obtaining aggregate counts of occurrences of special events, and sampling model for determining the frequencies of event occurrences produced by program locations at the function, basic block, and/or instruction levels. WindowsPerf is an open-source project hosted on [GitHub](https://github.com/arm-developer-tools/windowsperf).
33
+
WindowsPerf is a Linux Perf-inspired Windows on Arm performance profiling tool. Profiling is based on the Arm AArch64 PMU and its hardware counters. WindowsPerf supports the counting model for obtaining aggregate counts of occurrences of PMU events, and the sampling model for determining the frequencies of event occurrences produced by program locations at the function, basic block, and instruction levels. WindowsPerf is an open-source project hosted on [GitHub](https://github.com/arm-developer-tools/windowsperf).
34
34
35
-
WindowsPerf consists of a kernel-mode driver and a user-space command-line tool. The WindowsPerf command line tool can be seamlessly integrated with both the [WindowsPerf Visual Studio Extension](#vs2022) and the [WindowsPerf VS Code Extension](#vscode). These extensions, which can be downloaded from the Visual Studio Marketplace, enhance the functionality of WindowsPerf by providing a more user-friendly interface and additional features for performance analysis and debugging. This integration allows developers to efficiently analyze and optimize their applications directly within their preferred development environment.
35
+
WindowsPerf consists of a kernel-mode driver and a user-space command-line tool. You can seamlessly integrate the WindowsPerf command line tool with both the [WindowsPerf Visual Studio Extension](#vs2022) and the [WindowsPerf VS Code Extension](#vscode). These extensions, which you can download from the Visual Studio Marketplace, enhance the functionality of WindowsPerf by providing a user-friendly interface, and additional features for performance analysis and debugging. This integration allows developers to efficiently analyze and optimize their applications directly within their preferred development environment.
36
36
37
37
38
-
{{% notice Virtual Machines%}}
39
-
WindowsPerf cannot be used on virtual machines, such as cloud instances.
38
+
{{% notice Note%}}
39
+
You cannot use WindowsPerf on virtual machines, such as cloud instances.
40
40
{{% /notice %}}
41
41
42
42
## Visual Studio and the Windows Driver Kit (WDK)
43
43
44
-
WindowsPerf relies on `dll` files installed with Visual Studio (Community Edition or higher) and (optionally) installers from the Windows Driver Kit extension.
44
+
WindowsPerf relies on `dll` files installed with Visual Studio, from the Community Edition or higher and, optionally, installers from the Windows Driver Kit extension.
45
45
46
-
[Download the Windows Driver Kit (WDK)](https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk) explains the WDK installation process.
46
+
For information about the WDK installation process, see [Download the Windows Driver Kit (WDK)](https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk).
47
47
48
48
See also the [Visual Studio for Windows on Arm install guide](/install-guides/vs-woa/).
49
49
50
50
## Download WindowsPerf
51
51
52
-
The latest release package `windowsperf-bin-<version>.zip` can be downloaded from the Arm GitHub repository:
52
+
You can download the latest release package,`windowsperf-bin-<version>.zip` from the Arm GitHub repository:
@@ -70,17 +70,17 @@ tar -xmf windowsperf-bin-3.8.0.zip
70
70
71
71
## Install wperf driver
72
72
73
-
You can install the kernel driver using supplied `wperf-devgen` installer.
73
+
You can install the kernel driver using the supplied `wperf-devgen` installer.
74
74
75
75
The [wperf-devgen](https://github.com/arm-developer-tools/windowsperf/blob/main/wperf-devgen/README.md) tool has been designated as the preferred installer and uninstaller for the WindowsPerf Kernel Driver in the latest release. This tool offers a simple process for managing the installation and removal of the driver.
76
76
77
77
{{% notice Note%}}
78
78
You must install the driver as `Administrator`.
79
79
{{% /notice %}}
80
80
81
-
Open a `Windows Command Prompt` terminal with `Run as administrator` enabled.
81
+
Open a **Windows Command Prompt** terminal with **Run as administrator** selected.
82
82
83
-
Make sure you are in the `windowsperf-bin-<version>` directory.
83
+
Make sure you are in the `windowsperf-bin-<version>` directory:
84
84
85
85
```command
86
86
cd windowsperf-bin-3.8.0
@@ -95,7 +95,7 @@ cd wperf-driver
95
95
wperf-devgen install
96
96
```
97
97
98
-
The output is similar to:
98
+
The output should be similar to:
99
99
100
100
```output
101
101
Executing command: install.
@@ -108,7 +108,7 @@ Device installed successfully
108
108
You can check everything is working by running the `wperf` executable.
109
109
110
110
{{% notice Note%}}
111
-
Once the above driver is installed, you can use `wperf` without `Administrator` privileges.
111
+
Once you have installed the driver, you can use `wperf` without `Administrator` privileges.
112
112
{{% /notice %}}
113
113
114
114
For example:
@@ -129,7 +129,7 @@ You see output similar to:
129
129
```
130
130
## Uninstall wperf driver
131
131
132
-
You can uninstall (aka "remove") the kernel driver using supplied [wperf-devgen](#devgen_uninstall) uninstaller.
132
+
You can uninstall (or *remove*) the kernel driver using supplied [wperf-devgen](#devgen_uninstall) uninstaller.
## Install WindowsPerf Virtual Studio Extension (optional) {#vs2022}
156
156
157
-
WindowsPerf GUI (Graphical User Interface) project, a Visual Studio 2022 extension designed to bring a seamless UI experience to WindowsPerf, the command-line performance profiling tool for Windows on Arm. Extension is available on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Arm.WindowsPerfGUI).
157
+
WindowsPerf GUI (Graphical User Interface) is a Visual Studio 2022 extension designed to bring a seamless UI experience to WindowsPerf, the command-line performance profiling tool for Windows on Arm. It is available on the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=Arm.WindowsPerfGUI).
158
158
159
-
Install by opening `Extensions` menu, select `Manage Extensions` and click `Browse`. Type `WindowsPerf` to search for Arm WindowsPerf GUI extension. Click `Install`.
159
+
Install by opening **Extensions** menu, click **Manage Extensions**, and click **Browse**. Type `WindowsPerf` to search for Arm WindowsPerf GUI extension. Click **Install**.
160
160
161
161
{{% notice How to set up wperf.exe path in the extension%}}
162
-
In order to set the path to the `wperf.exe` executable, go to `Tools -> Options -> WindowsPerf -> WindowsPerf Path` and set the absolute path to the wperf.exe executable and then on the Validate button.
162
+
In order to set the path to the `wperf.exe` executable, go to **Tools** -> **Options** -> **WindowsPerf** -> **WindowsPerf Path** and set the absolute path to the wperf.exe executable and then click on the **Validate** button.
163
163
{{% /notice %}}
164
164
165
165
Also, visit WindowsPerf GUI project website on [GitHub](https://github.com/arm-developer-tools/windowsperf-vs-extension) for more details and latest updates.
In addition to the command-line tools, `WindowsPerf` is available on the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=Arm.windowsperf).
170
170
171
-
Install by opening the `Extensions` view (`Ctrl`+`Shift`+`X`) and searching for `WindowsPerf`.Click `Install`.
171
+
Install by opening the **Extensions** view (Ctrl+Shift+X) and searching for `WindowsPerf`.Click **Install**.
172
172
173
-
Open `Settings` (`Ctrl`+`,`) > `Extensions` > `WindowsPerf`, and specify the path to the `wperf` executable.
173
+
Open **Settings** (Ctrl+,) > **Extensions** > **WindowsPerf**, and specify the path to the `wperf` executable.
174
174
175
175
{{% notice Non-Windows on Arm host%}}
176
176
You can only generate reports from a Windows on Arm device.
0 commit comments