mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-11-17 13:58:13 +00:00
A Resources panel at the top of the right column shows the machine's CPU, RAM, VRAM and GPU load, each split into SurfSense's share and other apps, with a per-engine breakdown for llama.cpp, stable-diffusion.cpp, audio.cpp, the backend and the interface. The API samples it at GET /system/usage. Electron passes its pid as SURFSENSE_LOCAL_SHELL_PID, and every process under it counts as the app, named by the child of the shell that started its branch. Graphics come from the OS: GPU performance counters and DXGI on Windows, NVML and amdgpu sysfs with DRM fdinfo on Linux, ioreg on macOS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| gpu | ||
| __init__.py | ||
| app_tree.py | ||
| dependencies.py | ||
| engines.py | ||
| parent_map.py | ||
| router.py | ||
| sampler.py | ||
| schemas.py | ||
| snapshot.py | ||