aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorzhong jiang <[email protected]>2019-09-06 00:24:08 +0800
committerKalle Valo <[email protected]>2019-09-13 16:45:17 +0300
commit3dfb22003f98ab076c2c19121f05d8fe9e150e17 (patch)
treea1c768d056a5b8b7143291057673fbbd5693349e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parentc57391f4157256a86c85424a16285d27ba92035c (diff)
brcmsmac: Use DIV_ROUND_CLOSEST directly to make it readable
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d but is perhaps more readable. Signed-off-by: zhong jiang <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions