-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract_gpuinfo_amdgpu: Support per-process GPU usage
This is via the fdinfo interface. The enumeration of all the visible fds on a system is slightly expensive, but I'm not sure how to avoid it. The logic is partly adapted from unmerged intel_gpu_top code [1], adapted for AMDGPU. i915 kernel changes has not been merged into mainline yet, AFAICT. [1] https://patchwork.freedesktop.org/series/100571/
- Loading branch information
1 parent
f4ba53a
commit 01468d8
Showing
1 changed file
with
330 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters