diff options
author | Tomer Tayar <[email protected]> | 2022-01-18 00:21:49 +0200 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2022-02-28 14:22:05 +0200 |
commit | 35629bc171b642d5f0bbb59345471d20ecff5ff7 (patch) | |
tree | f81604471bd55fd924fe9032ab35ba38d7a4f5bd /tools/perf/scripts/python/libxed.py | |
parent | d01e6cc97b44d8501b5c24a36d60c9cab94640cd (diff) |
habanalabs: use proper max_power variable for device utilization
The max_power variable which is used for calculating the device
utilization is the ASIC specific property which is set during init.
However, the max value can be modified via sysfs, and thus the updated
value in the device structure should be used instead.
Signed-off-by: Tomer Tayar <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions