Skip to content

Commit

Permalink
Update SystemInfoHelper.Windows.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
laolarou726 committed Nov 14, 2023
1 parent e190f6e commit 4da9da7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ namespace ProjBobcat.Platforms.Windows;
[SupportedOSPlatform(nameof(OSPlatform.Windows))]
public static class SystemInfoHelper
{
static readonly PerformanceCounter FreeMemCounter = new("Memory", "Available MBytes");
static readonly PerformanceCounter MemUsagePercentageCounter = new("Memory", "% Committed Bytes In Use");
static readonly PerformanceCounter CpuCounter = new("Processor Information", "% Processor Utility", "_Total");
static readonly PerformanceCounter FreeMemCounter = new("Memory", "Available MBytes", true);
static readonly PerformanceCounter MemUsagePercentageCounter = new("Memory", "% Committed Bytes In Use", true);
static readonly PerformanceCounter CpuCounter = new("Processor Information", "% Processor Utility", "_Total", true);

static SystemInfoHelper()
{
Expand Down

0 comments on commit 4da9da7

Please sign in to comment.