Skip to content

Commit 7fa20b6

Browse files
author
Colin Robertson
committed
Minor tweaks for readability
1 parent fe3c4db commit 7fa20b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build/pgosweep.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Used in profile-guided optimization to write all profile data from a running pro
2121

2222
- **`/reset`** resets counts to zero after sweep. This behavior is the default.
2323

24-
- **`/pid:`**_`N`_ only sweeps the specified PID.
24+
- **`/pid:n`** only sweeps the specified PID, where *n* is the PID number.
2525

2626
- **`/wait`** waits for the specified PID to terminate before collecting counts.
2727

@@ -45,7 +45,7 @@ The **`pgosweep`** command works on programs that were built by using the [`/GEN
4545

4646
An alternative use for **`pgosweep`** is to retrieve profile information just for the normal operation of the application. For example, you could run **`pgosweep`** shortly after you start the application and discard that file. This command would remove profile data associated with startup costs. Then, you can run **`pgosweep`** before ending the application. Now the collected data has profile information only from the time the user could interact with the program.
4747

48-
When you name a PGC file (by using the *pgcfile* parameter) you can use the standard format, which is *`appname!<n>.pgc`*. If you use this format, the compiler automatically finds this data in the **`/LTCG /USEPROFILE`** or **`/LTCG:PGO`** phase. If you don't use the standard format, you must use [`pgomgr`](pgomgr.md) to merge the PGC files.
48+
When you name a PGC file (by using the *pgcfile* parameter) you can use the standard format, which is *`appname!n.pgc`*. The *n* represents an increasing numeric value for each file. If you use this format, the compiler automatically finds this data in the **`/LTCG /USEPROFILE`** or **`/LTCG:PGO`** phase. If you don't use the standard format, you must use [`pgomgr`](pgomgr.md) to merge the PGC files.
4949

5050
> [!NOTE]
5151
> You can start this tool only from a Visual Studio developer command prompt. You can't start it from a system command prompt or from File Explorer.

0 commit comments

Comments
 (0)