You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/profiling/profile-apps-from-command-line.md
+7-16Lines changed: 7 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
---
2
-
title: "Measure CPU usage from the command line"
3
-
description: "Measure CPU performance in your application from the command line."
2
+
title: "Measure performance from the command line"
3
+
description: "Measure CPU performance and managed memory usage in your application from the command line."
4
4
ms.custom: ""
5
-
ms.date: "02/19/2019"
5
+
ms.date: "02/21/2020"
6
6
ms.topic: "conceptual"
7
7
helpviewer_keywords:
8
8
- "Profiling Tools, command-line"
@@ -24,11 +24,11 @@ In the example described in this article, you collect performance information fo
24
24
25
25
## Prerequisites
26
26
27
-
* Visual Studio 2019 Preview 3 or later versions
27
+
* Visual Studio 2019 or later versions
28
28
29
29
* Familiarity with command-line tools
30
30
31
-
* To collect performance information on a remote machine without Visual Studio installed, install the [Performance Tools for Visual Studio](https://visualstudio.microsoft.com/downloads#remote-tools-for-visual-studio-2019) on the remote machine. The version of the tools must match your version of Visual Studio.
31
+
* To collect performance information on a remote machine without Visual Studio installed, install the [Performance Tools for Visual Studio](https://visualstudio.microsoft.com/downloads#performance-tools-for-visual-studio-2019) on the remote machine. The version of the tools must match your version of Visual Studio.
32
32
33
33
## Collect performance data
34
34
@@ -68,19 +68,10 @@ Collection Agents are interchangeable components that collect different types of
68
68
69
69
For convenience, you can store that information in an agent configuration file. The configuration file is a *.json* file that contains at minimum the name of the *.dll* and its COM CLSID. Here are the example configuration files that you can find in the following folder:
70
70
71
-
```<Visual Studio installation folder>Team Tools\DiagnosticsHub\Collector\AgentConfigs\```
72
-
73
-
Please see the following links to agent configuration files:
```<Visual Studio installation folder>\2019\Preview\Team Tools\DiagnosticsHub\Collector\AgentConfigs\```
81
72
82
73
* CpuUsage configurations (Base/High/Low), which corresponds to data collected for the [CPU Usage](../profiling/cpu-usage.md) profiling tool.
83
-
* DotNetObjectAlloc configurations (Base/Low), which corresponds to data collected for the [.NET Object Allocation tool](https://devblogs.microsoft.com/visualstudio/visual-studio-2017-version-15-8-preview-3/#tooling).
74
+
* DotNetObjectAlloc configurations (Base/Low), which corresponds to data collected for the [.NET Object Allocation tool](../profiling/dotnet-alloc-tool.md).
84
75
85
76
Base/Low/High configurations refer to the sampling rate. For example, Low is 100 samples/second and High is 4000 samples/second.
0 commit comments