aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2016-03-29 19:23:32 +0800
committerEduardo Valentin <[email protected]>2016-04-27 15:54:01 -0700
commit5fdfc48bb0da2aa8a912024a6ecca06486eb9141 (patch)
treedfde889af6cfa191cdd388aa7eb7ddc07ed4dc70 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent913f201083c81cf021f050d041352ac854c4b526 (diff)
thermal: hisilicon: increase temperature resolution
When calculate temperature, old code firstly do division and then convert to "millicelsius" unit. This will lose resolution and only can read back temperature with "Celsius" unit. So firstly scale step value to "millicelsius" and then do division, so finally we can increase resolution for temperature value. Also refine the calculation from temperature value to step value. Signed-off-by: Leo Yan <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions