mirror of
https://github.com/Syllo/nvtop.git
synced 2026-06-12 07:54:24 -04:00
GPUs that rely on the fdinfo to expose process information (AMDGPU/Intel) can register a callback function to parse a fdinfo file open to the DRM driver. The callback function returns a populated process info struct uppon successfull parsing. During each main loop iteration, the processes in /proc are scanned only once instead of once per AMDGPU previously.