aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMax Kellermann <[email protected]>2022-01-25 13:34:28 +0100
committerThierry Reding <[email protected]>2022-04-22 17:43:48 +0200
commitba3e5037ceeb920e98970e2342edd7ab390217c0 (patch)
tree74e44007f9c8390177d1dfcdf709581f03c901ac /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentc7078972038a04549cfb1ab1f3f6554db9c31446 (diff)
pwm-sun4i: Calculate "delay_jiffies" directly, eliminate absolute time
Basically this code did "jiffies + period - jiffies", and we can simply eliminate the "jiffies" time stamp here. Signed-off-by: Max Kellermann <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions