diff --git a/content/install-guides/windows-perf-wpa-plugin.md b/content/install-guides/windows-perf-wpa-plugin.md index 59196a27a0..9afda85d45 100644 --- a/content/install-guides/windows-perf-wpa-plugin.md +++ b/content/install-guides/windows-perf-wpa-plugin.md @@ -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. @@ -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. @@ -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? diff --git a/content/learning-paths/laptops-and-desktops/windowsperf_wpa_plugin/windowsperf_wpa_plugin.md b/content/learning-paths/laptops-and-desktops/windowsperf_wpa_plugin/windowsperf_wpa_plugin.md index d2bad14c28..abd47aaa51 100644 --- a/content/learning-paths/laptops-and-desktops/windowsperf_wpa_plugin/windowsperf_wpa_plugin.md +++ b/content/learning-paths/laptops-and-desktops/windowsperf_wpa_plugin/windowsperf_wpa_plugin.md @@ -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: @@ -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.