Skip to content

Commit 30c30ec

Browse files
committed
edits
1 parent 1d66936 commit 30c30ec

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Add user marks to the profiling timeline
33
description: Learn how to include your own user marks in the profiling timeline to track custom events
4-
ms.date: 07/16/2024
4+
ms.date: 07/18/2024
55
ms.topic: how-to
66
author: mikejo5000
77
ms.author: mikejo
@@ -10,9 +10,9 @@ ms.subservice: debug-diagnostics
1010
monikerRange: '>= vs-2022'
1111
---
1212

13-
# Add user marks to the profiling timeline
13+
# Add user marks to the profiling timeline (C#, C++)
1414

15-
User Marks enable you to track custom events against Visual Studio's Profiler tools by adding marks into your code, which will appear as visual marks on the timeline graphs. You can do this to track a single event, or track a range. For example, you could track a "stop" and "start" event range.
15+
User Marks enable you to track custom events against Visual Studio's profiling tools by adding user mark functions into your code. The user marks appear as visual marks on the timeline graphs. You can do this to track a single event, or track a range. For example, you could track a "stop" and "start" event range.
1616

1717
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks.png" alt-text="Screenshot showing profiling user marks":::
1818

@@ -103,6 +103,8 @@ DIAGHUB_STOP_TRACE_SYSTEM();
103103
104104
The user marks show on the ruler above the timeline graph and in a table with details about the timestamps, related process, and any messages you emitted.
105105
106+
In the timeline, the user mark appears as an inverted triangle.
107+
106108
1. In the **Summary** pane, select **Show user marks** to see details about the user marks.
107109
108110
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-timeline-initial-view.png" alt-text="Screenshot showing timeline":::

0 commit comments

Comments
 (0)