aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2014-03-26 16:06:36 -0700
committerMike Turquette <mturquette@linaro.org>2014-04-30 11:51:48 -0700
commit8f2c2db132cf5f4ffb4b9702ddb7e6bc5a343814 (patch)
tree3cbf9723124a52478c2cb424abf1705a5d0240e0 /tools/perf/scripts/python/syscall-counts.py
parent86a612349fa58467cd63b30748114ec377d61807 (diff)
clk: Consolidate recalc rate logic
The same if-else statement exists four times to recalculate the rate of a clock. Consolidate this logic into a single function to save some lines. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions