- .NET 8 WPF app with full MVVM architecture - One-click boost: CPU, RAM, GPU, network, services, timer resolution - Real-time system monitor (LibreHardwareMonitor) - Auto game detection (30+ games) - RAM optimizer with kernel-level cleanup - Network optimizer (TCP registry tweaks) - Service manager, process manager, shader cache cleaner - Desktop widget overlay - Debug log viewer - Custom dark gaming theme with trans pride colors - 84 unit tests (xUnit) - Inno Setup installer script - Landing page website
19 lines
641 B
C#
19 lines
641 B
C#
namespace SpdUp.Models;
|
|
|
|
/// <summary>
|
|
/// Snapshot of current system performance metrics.
|
|
/// </summary>
|
|
public sealed class SystemMetrics
|
|
{
|
|
public float CpuUsage { get; init; }
|
|
public float RamUsageMB { get; init; }
|
|
public float RamTotalMB { get; init; }
|
|
public float RamUsagePercent => RamTotalMB > 0 ? (RamUsageMB / RamTotalMB) * 100f : 0f;
|
|
public float GpuUsage { get; init; }
|
|
public float CpuTemperature { get; init; }
|
|
public float GpuTemperature { get; init; }
|
|
public float NetworkPingMs { get; init; }
|
|
public float Fps { get; init; }
|
|
public DateTime Timestamp { get; init; } = DateTime.Now;
|
|
}
|