Skip to content

Commit fe25f60

Browse files
committed
edits
1 parent cac2b81 commit fe25f60

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ User Marks enable you to track custom events against Visual Studio's Profiler to
2121
2222
## Installation and setup
2323

24-
### Add the NuGet Package (.NET)
24+
- Add the NuGet Package (.NET)
2525

26-
Download the package, [Microsoft.VisualStudio.DiagnosticsHub.UserMarks](https://www.nuget.org/packages/Microsoft.VisualStudio.DiagnosticsHub.UserMarks).
26+
Download the package, [Microsoft.VisualStudio.DiagnosticsHub.UserMarks](https://www.nuget.org/packages/Microsoft.VisualStudio.DiagnosticsHub.UserMarks).
2727

28-
### Add source files (.NET, C++)
28+
- Add source files (.NET, C++)
2929

30-
After installing Visual Studio, open the following folder: *[VS installation path]\Common7\IDE\CommonExtensions\Platform\DiagnosticsHub*.
30+
After installing Visual Studio, open the following folder: *[VS installation path]\Common7\IDE\CommonExtensions\Platform\DiagnosticsHub*.
3131

32-
For managed C# code, add *UserMarks.cs* and *UserMarksRange.cs* to your project.
32+
For managed C# code, add *UserMarks.cs* and *UserMarksRange.cs* to your project.
3333

34-
For native C++ code, add *UserMarks.h* to your project.
34+
For native C++ code, add *UserMarks.h* to your project.
3535

3636
## Add user marks (C#)
3737

@@ -103,6 +103,8 @@ DIAGHUB_STOP_TRACE_SYSTEM();
103103
104104
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-timeline-initial-view.png" alt-text="Screenshot showing timeline":::
105105
106+
Details appear in the User Marks tab.
107+
106108
:::image type="content" source="../profiling/media/vs-2022/profiling-user-marks-view-user-marks.png" alt-text="Screenshot showing user marks":::
107109
108110
1. To see the user mark details in the timeline, hover over the marks in the ruler.

docs/profiling/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@
110110
href: events-viewer.md
111111
- name: Analyze Resource Consumption
112112
href: application-timeline.md
113+
- name: Add user marks to timeline
114+
href: add-user-marks-to-timeline.md
113115
- name: BenchmarkDotNet
114116
href: profiling-with-benchmark-dotnet.md
115117
- name: Analyze GPU usage

0 commit comments

Comments
 (0)