Fix incorrect cpu-usage descriptor (#1597)
authorSung Yoon Whang <suwhang@microsoft.com>
Wed, 23 Sep 2020 17:16:29 +0000 (10:16 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 17:16:29 +0000 (10:16 -0700)
src/Tools/dotnet-counters/KnownData.cs

index 44bf9bff1709dbd6e198a9e43641c6536070897f..0536673cc0e9449cb4ff5bf492ae4dc07342fa2b 100644 (file)
@@ -28,7 +28,7 @@ namespace Microsoft.Diagnostics.Tools.Counters
                 "0xffffffff", // Keywords
                 "5", // Level 
                 new[] { // Counters
-                    new CounterProfile{ Name="cpu-usage", Description="Amount of time the process has utilized the CPU (ms)", SupportedVersions=new[] { net30, net31, net50 } },
+                    new CounterProfile{ Name="cpu-usage", Description="Percentage of time the process has utilized the CPU (%)", SupportedVersions=new[] { net30, net31, net50 } },
                     new CounterProfile{ Name="working-set", Description="Amount of working set used by the process (MB)", SupportedVersions=new[] { net30, net31, net50 } },
                     new CounterProfile{ Name="gc-heap-size", Description="Total heap size reported by the GC (MB)", SupportedVersions=new[] { net30, net31, net50 } },
                     new CounterProfile{ Name="gen-0-gc-count", Description="Number of Gen 0 GCs / min", SupportedVersions=new[] { net30, net31, net50 } },