aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2024-08-30 03:17:52 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-09-06 11:56:54 +0200
commit9a5e69c030608aec545201398be626102272bf72 (patch)
tree1b99206b77f771e927df3f1f9b4dfa4b0e8d03ea /tools/perf/scripts/python/check-perf-trace.py
parent7adc7193537470839ec66ecbdb54f4dc9092e6f6 (diff)
media: atomisp: use clamp() in compute_coring()
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao <lizetao1@huawei.com> Link: https://lore.kernel.org/r/20240830011752.603433-3-lizetao1@huawei.com Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions