Files
SpdUp/Models/SystemMetrics.cs
Phil-icyou 19ba425e79 Initial commit: SpdUp Windows Gaming Booster v1.0.0
- .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
2026-03-08 17:34:45 +01:00

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;
}