]> 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)
commite694bc78cfa4d618ea7d65d3ceedd37242fb94f5
tree369e7da59b35502c7a4f13be84cbe04134ed5798
parent7ebe1d356e057734776951dbff0af2ffdac325ba
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