Skip to content

feat: implement system monitors (CPU, GPU, RAM)#7

Merged
Sopwit merged 1 commit into
devfrom
fix/system-monitors
Mar 5, 2026
Merged

feat: implement system monitors (CPU, GPU, RAM)#7
Sopwit merged 1 commit into
devfrom
fix/system-monitors

Conversation

@Sopwit
Copy link
Copy Markdown
Member

@Sopwit Sopwit commented Mar 5, 2026

Değişiklikler

CpuMonitor

  • /proc/stat üzerinden delta hesaplı gerçek zamanlı CPU yükü
  • /sys/class/hwmon/ ile CPU sıcaklığı (k10temp/coretemp)

GpuMonitor

  • nvidia-smi ile GPU sıcaklık, yük ve VRAM izleme
  • available property ile GPU durumu kontrolü

RamMonitor

  • /proc/meminfo ile RAM kullanımı (total, used, percent)

Ortak Özellikler

  • QTimer tabanlı polling (start/stop)
  • QML Q_PROPERTY binding desteği

Dosyalar

  • src/backend/monitor/cpumonitor.h / .cpp
  • src/backend/monitor/gpumonitor.h / .cpp
  • src/backend/monitor/rammonitor.h / .cpp

Bağımlılık

- CpuMonitor: /proc/stat ile gerçek zamanlı CPU yükü ve hwmon sıcaklık
- GpuMonitor: nvidia-smi ile GPU sıcaklık, yük ve VRAM izleme
- RamMonitor: /proc/meminfo ile RAM kullanımı takibi
- Tüm monitörler QTimer tabanlı polling ile çalışır
- QML property binding desteği
@Sopwit Sopwit merged commit 98c4bd2 into dev Mar 5, 2026
1 check failed
@Sopwit Sopwit deleted the fix/system-monitors branch March 22, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant