commit | cd5def8020637836b7836fc8228b70cdc9af4ea1 | [log] [tgz] |
---|---|---|
author | Koby Elbaz <kelbaz@habana.ai> | Tue Feb 23 21:31:27 2021 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Fri Apr 09 14:09:24 2021 +0300 |
tree | fc619127a1d7f64fb1f12560fb731ce326781374 | |
parent | e8f9392a5c7fabe0fdeb33b354b489c8c4b236bc [diff] |
habanalabs: improve utilization calculation The new approach is based on the notion that the relative current power consumption is in relation of proportionality to device's true utilization. Utilization info ranges between [0,100]% Currently, dc_power values are hard-coded. Signed-off-by: Koby Elbaz <kelbaz@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>