Skip to content

Commit

Permalink
fix gpu usage display
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoxi Han authored and Xiaoxi Han committed Sep 11, 2024
1 parent a7f2323 commit 9094622
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ResourceUsagePageViewModel()
_cpuUsage = CommonHelper.GetLocalizedString("CpuPerfTextFormatNoLabel", PerfCounters.Instance.CpuUsage);
_ramUsage = CommonHelper.GetLocalizedString("MemoryPerfTextFormatNoLabel", PerfCounters.Instance.RamUsageInMB);
_diskUsage = CommonHelper.GetLocalizedString("DiskPerfTextFormatNoLabel", PerfCounters.Instance.DiskUsage);
_gpuUsage = CommonHelper.GetLocalizedString("GpuPerfTextFormatNoLabel", PerfCounters.Instance.DiskUsage);
_gpuUsage = CommonHelper.GetLocalizedString("GpuPerfTextFormatNoLabel", PerfCounters.Instance.GpuUsage);
_responding = TargetAppData.Instance.TargetProcess?.Responding ?? false;

// We don't have a great way to determine when the "Responding" member changes, so we'll poll every 10 seconds using a Timer
Expand Down

0 comments on commit 9094622

Please sign in to comment.