]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: rename tcc variables
authorZhang Rui <rui.zhang@intel.com>
Mon, 26 Apr 2021 10:49:26 +0000 (18:49 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 5 May 2021 00:01:09 +0000 (20:01 -0400)
commitb15000524577b38e489890f11e7295434d3c4687
tree369e7da59b35502c7a4f13be84cbe04134ed5798
parent94fb4e6d0f7094a9453032ad6d01fa07efb2e670
tools/power turbostat: rename tcc variables

There are two TCC activation temeprature.
One is the default TCC activation temperature, also known as TJ_MAX.
Another one is the effective TCC activation temperature, which is the
subtraction of default TCC activation temperature and TCC offset.

The name of variable tcc_activation_temp might be misleading here.
Thus rename tcc_activation_temp to tj_max, and use tcc_default and
tcc_offset to calculate the effective TCC activation temperature.

No functional change in this patch.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c