diff options
author | 2014-01-23 10:47:41 +0800 | |
---|---|---|
committer | 2014-03-26 20:59:27 -0700 | |
commit | c45693a6480cee906557a9fba533a9f3c224f91e (patch) | |
tree | 1f1566bfffe25d0de323f87c3d50e1bef3de8f20 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | clk: mmp: fix wrong mask when calculate denominator (diff) | |
download | linux-dev-c45693a6480cee906557a9fba533a9f3c224f91e.tar.xz linux-dev-c45693a6480cee906557a9fba533a9f3c224f91e.zip |
clk: mmp: fix the wrong calculation formula
The formula is numerator/denominator = Fin / (Fout * factor)
So
Fout = Fin * denominator / (numerator * factor).
Current clk_factor_round_rate and clk_factor_recalc_rate use
wrong formula. This patch will fix them.
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions