Skip to content

Commit 8c7c799

Browse files
committed
edits
1 parent 0d07950 commit 8c7c799

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

docs/profiling/instrumentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Here's more information on the column values:
111111

112112
- **Module** The name of the module containing the function.
113113

114-
For help understanding data in the call tree, see [Understanding the call tree](../profiling/cpu-usage.md#understanding-the-call-tree).
114+
For help understanding unexpected data in the call tree, see [Understanding the call tree](../profiling/understanding-call-tree-data.md).
115115

116116
### Async calls in the Instrumentation call tree (.NET)
117117

docs/profiling/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
- name: Flame Graph
3838
href: flame-graph.md
3939
- name: Understanding the call tree
40-
href: understanding-call-tree.md
40+
href: understanding-call-tree-data.md
4141
- name: CPU Insights
4242
items:
4343
- name: CPU Insights

docs/profiling/understanding-call-tree-data.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ ms.subservice: debug-diagnostics
1313

1414
The profiling tools for CPU Usage and Instrumentation in Visual Studio include a call tree view that provides a visualization of the call paths in your application, along with performance data.
1515

16-
Sometimes, the call paths that appear in the **Call Tree** view may look different than you expect. To interpret the data you see in the call tree, it helps to understand the common reasons for these differences when they occur. For example:
16+
Sometimes, the call paths that appear in the **Call Tree** view may look different than you expect. To interpret the data you see in the call tree, it helps to understand the common reasons for these differences when they occur.
17+
18+
Here are the most common reasons:
1719

1820
- Release build optimizations. Release builds perform many optimizations such as inline function calls. Inline functions don't appear in the call tree. In some cases, release build optimizations may also generate unexpected code that appears in the call tree.
1921

@@ -35,7 +37,7 @@ Sometimes, the call paths that appear in the **Call Tree** view may look differe
3537

3638
![Screenshot that shows expression tree in the Call Tree view.](media/vs-2022/call-tree-dynamic-code-expression-tree-visual.png)
3739

38-
- Code that defers execution. For code that defers execution, such as LINQ, the call path can appear unexpectedly if you're unfamiliar with how LINQ works. For example, if you use the following code:
40+
- Code that defers execution. For code that defers execution, such as LINQ, the call path can appear in unexpected ways if you're unfamiliar with how LINQ works. For example, if you use the following code:
3941

4042
```csharp
4143
// LINQ query to get all items less than 1,000,000

0 commit comments

Comments
 (0)