diff options
| author | Kent Russell <[email protected]> | 2019-01-03 08:12:39 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-14 15:04:54 -0500 |
| commit | b45e18acd394954c24943762ada5d8dada75f2b9 (patch) | |
| tree | 40ffc68e9c4e6c4449edf17d4401d4dcc5a54503 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a0bb79e2559c9330c82080d6e4f8c762d72ed0f1 (diff) | |
drm/amdgpu: Add sysfs file for PCIe usage v5
Add a sysfs file that reports the number of bytes transmitted and
received in the last second. This can be used to approximate the PCIe
bandwidth usage over the last second.
v2: Clarify use of mps as estimation of bandwidth
v3: Don't make the file on APUs
v4: Early exit for APUs in the read function, change output to
display "packets-received packets-sent mps"
v5: fix missing header for si (Alex)
Signed-off-by: Kent Russell <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions