Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/install-guides/windows-perf-wpa-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ Alternatively, you can download the `.zip` file from a command prompt:
```console
mkdir wpa-plugin
cd wpa-plugin
curl -L -O https://github.com/arm-developer-tools/windowsperf-wpa-plugin/releases/download/1.0.2/wpa-plugin-1.0.2.zip
curl -L -O https://github.com/arm-developer-tools/windowsperf-wpa-plugin/releases/download/1.0.3/wpa-plugin-1.0.3.zip
```

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

```console
tar -xmf wpa-plugin-1.0.2.zip
tar -xmf wpa-plugin-1.0.3.zip
```

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

```bash
wpa -addsearchdir %USERPROFILE%\Downloads\wpa-plugin-1.0.2
wpa -addsearchdir %USERPROFILE%\Downloads\wpa-plugin-1.0.3
```

##### Option 2: Set an environment variable.
Expand All @@ -135,7 +135,7 @@ To open a JSON file directly from the command line, you can use the `-i` flag to
For example, to open `timeline_long.json` in your `downloads` directory, run the command:

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ You can save a `.json` output from WindowsPerf by using the `--output` command f
```console
wperf stat -e ld_spec --timeout 5 --json --output example.json
```
Note: This command won't finish automatically. You can use Ctrl+C to terminate it after it has run for 5-10 seconds.

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

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

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

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

```console
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
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
```

Note: above command will run for ~20 seconds.
Expand Down