Skip to content

Commit 933a6b8

Browse files
Merge pull request #1412 from odincodeshen/main
Update WPA 1.0.3 installation & add wperf note
2 parents 7f8fcf9 + 618d8b1 commit 933a6b8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

content/install-guides/windows-perf-wpa-plugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ Alternatively, you can download the `.zip` file from a command prompt:
9090
```console
9191
mkdir wpa-plugin
9292
cd wpa-plugin
93-
curl -L -O https://github.com/arm-developer-tools/windowsperf-wpa-plugin/releases/download/1.0.2/wpa-plugin-1.0.2.zip
93+
curl -L -O https://github.com/arm-developer-tools/windowsperf-wpa-plugin/releases/download/1.0.3/wpa-plugin-1.0.3.zip
9494
```
9595

9696
Extract the `.dll` file from the downloaded `.zip` file.
9797

9898
```console
99-
tar -xmf wpa-plugin-1.0.2.zip
99+
tar -xmf wpa-plugin-1.0.3.zip
100100
```
101101

102102
The file `WPAPlugin.dll` is now in your `wpa-plugin` directory.
@@ -110,7 +110,7 @@ Use the `-addsearchdir` flag to tell `wpa` where to find plugins.
110110
For example, if you downloaded the `.dll` in your `Downloads` directory, you can run `wpa` as shown below:
111111

112112
```bash
113-
wpa -addsearchdir %USERPROFILE%\Downloads\wpa-plugin-1.0.2
113+
wpa -addsearchdir %USERPROFILE%\Downloads\wpa-plugin-1.0.3
114114
```
115115
116116
##### Option 2: Set an environment variable.
@@ -135,7 +135,7 @@ To open a JSON file directly from the command line, you can use the `-i` flag to
135135
For example, to open `timeline_long.json` in your `downloads` directory, run the command:
136136

137137
```console
138-
wpa -addsearchdir %USERPROFILE%\Downloads\wpa-plugin-1.0.2 -i %USERPROFILE%\Downloads\timeline_long.json
138+
wpa -addsearchdir %USERPROFILE%\Downloads\wpa-plugin-1.0.3 -i %USERPROFILE%\Downloads\timeline_long.json
139139
```
140140
## How do I uninstall the WPA plugin?
141141

content/learning-paths/laptops-and-desktops/windowsperf_wpa_plugin/windowsperf_wpa_plugin.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ You can save a `.json` output from WindowsPerf by using the `--output` command f
2828
```console
2929
wperf stat -e ld_spec --timeout 5 --json --output example.json
3030
```
31+
Note: This command won't finish automatically. You can use Ctrl+C to terminate it after it has run for 5-10 seconds.
3132

3233
2. Open Windows Performance Analyzer, and see the following window:
3334

@@ -71,10 +72,10 @@ The WPA plugin also generates a graph per event note in order to provide a more
7172

7273
To see all the generated graphs you can expand the `Counting timeline` section in the graph explorer section of WPA.
7374

74-
Run another `wperf` command with different options:
75+
Before you run another `wperf` command with different options, you use use `wperf -list` to find out supported metrics in your machine.
7576

7677
```console
77-
wperf stat -t -i 0 -n 10 -m imix,l1d_cache_miss_ratio,l1d_cache_mpki,l1d_tlb_miss_ratio,l1d_tlb_mpki -e inst_spec,vfp_spec,ld_spec,st_spec -c 1 --timeout 2 --json --output --example3.json
78+
wperf stat -t -i 0 -n 10 -m imix,l1d_cache_miss_ratio,l1d_cache_mpki,l1d_tlb_miss_ratio,l1d_tlb_mpki -e inst_spec,vfp_spec,ld_spec,st_spec -c 1 --timeout 2 --json --output example3.json
7879
```
7980

8081
Note: above command will run for ~20 seconds.

0 commit comments

Comments
 (0)