Skip to content

Commit b4c0e1e

Browse files
committed
Tech review of PGO in Windows
1 parent a24317e commit b4c0e1e

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

content/learning-paths/laptops-and-desktops/win_profile_guided_optimisation/how-to-3.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ BENCHMARK_MAIN();
5656
5757
## Compile and run the baseline benchmark
5858
59-
Open an **ARM64 Native Tools Command Prompt** from the Start menu, then type `powershell` to start PowerShell with the ARM64 compiler environment.
59+
Open an **ARM64 Native Tools Command Prompt** from the Windows Start menu and start PowerShell:
60+
61+
```console
62+
powershell
63+
```
6064

6165
Before compiling, set an environment variable to refer to the vcpkg installation directory:
6266

content/learning-paths/laptops-and-desktops/win_profile_guided_optimisation/how-to-4.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ Now that you have a baseline benchmark, you're ready to apply Profile-Guided Opt
1212

1313
You should already have an ARM64 Native Tools Command Prompt open with PowerShell running from the previous section.
1414

15-
Set the environment variable to refer to the vcpkg installation directory:
16-
17-
```console
18-
$VCPKG="$HOME\pgo-benchmark\vcpkg_installed\arm64-windows"
19-
```
20-
2115
Build the instrumented binary with the `/GENPROFILE` flag. This creates a version of your program that records how it executes:
2216

2317
```console

0 commit comments

Comments
 (0)