Skip to content

Commit 4cc3c95

Browse files
committed
Update art
1 parent 30c30ec commit 4cc3c95

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/profiling/add-user-marks-to-timeline.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ To add the definition in Visual Studio:
4545

4646
1. Select **Build > General > Conditional compilation symbols**.
4747

48-
1. Add `DIAGHUB_ENABLE_TRACE_SYSTEM` as the preprocessor definition.
48+
1. In the custom symbol fields for Debug and Release builds, add `DIAGHUB_ENABLE_TRACE_SYSTEM` as the preprocessor definition.
4949

5050
Add the user marks object and emit. The following code shows an example of adding user marks.
5151

@@ -111,11 +111,11 @@ DIAGHUB_STOP_TRACE_SYSTEM();
111111
112112
Details appear in the User Marks tab.
113113
114-
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-view-user-marks.png" alt-text="Screenshot showing user marks":::
114+
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-view-user-marks-2.png" alt-text="Screenshot showing user marks":::
115115
116116
1. To see the user mark details in the timeline, hover over the marks in the ruler.
117117
118-
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-hover.png" alt-text="Screenshot showing hovering over a user mark":::
118+
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-hover-2.png" alt-text="Screenshot showing hovering over a user mark":::
119119
120120
1. To filter the details view, select a time range in the timeline graph, or right-click a row and select start and end times to filter the timeline graph.
121121
@@ -126,4 +126,4 @@ DIAGHUB_STOP_TRACE_SYSTEM();
126126
## Related content
127127
128128
- [Analyze performance by using CPU profiling](../profiling/cpu-usage.md)
129-
- [Identify hot paths with Flame Graph](../profiling/flame-graph.md)
129+
- [Analyze memory usage](../profiling/analyze-memory-usage.md)
Loading
Loading

0 commit comments

Comments
 (0)