diff options
author | Chao Xie <[email protected]> | 2014-01-23 10:47:42 +0800 |
---|---|---|
committer | Mike Turquette <[email protected]> | 2014-03-26 20:59:27 -0700 |
commit | 5d26c15d3ba98c31b24286dac7a390a307fcff29 (patch) | |
tree | 32dadeb1f46b6bb918edf3b32960f64201e1742e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c45693a6480cee906557a9fba533a9f3c224f91e (diff) |
clk: mmp: try to use closer one when do round rate
The orignal code will use the bigger rate between
"previous rate" and "current rate" when caculate the
rate.
In fact, hardware cares about the closest one.
So choose the closer rate between "previous rate" and
"current rate".
Signed-off-by: Chao Xie <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions