mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
GPU clock may change within the period of time defined by smooth. Thus the result of averaging load percentages within smooth window has less meanning. New method keeps track of active GPU cycle count per time unit, and average load is average active cycle count divided by current GPU clock (total cycle count per time unit). Bug 1963732 Change-Id: I88cfb998f9bcfa0d6d0397f653f8e3096d4b3eed Signed-off-by: Peng Liu <pengliu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2033266 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>