summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2026-02-11 17:07:58 +0100
committerPeter Zijlstra <peterz@infradead.org>2026-02-23 18:04:10 +0100
commitdb4551e2ba346663b7b16f0b5d36d308b615c50e (patch)
tree238f54f9a875db49abd19134c544ac678488d847 /tools/perf/scripts/python/export-to-postgresql.py
parent101f3498b4bdfef97152a444847948de1543f692 (diff)
sched/fair: Use full weight to __calc_delta()
Since we now use the full weight for avg_vruntime(), also make __calc_delta() use the full value. Since weight is effectively NICE_0_LOAD, this is 20 bits on 64bit. This leaves 44 bits for delta_exec, which is ~16k seconds, way longer than any one tick would ever be, so no worry about overflow. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Tested-by: K Prateek Nayak <kprateek.nayak@amd.com> Tested-by: Shubhang Kaushik <shubhang@os.amperecomputing.com> Link: https://patch.msgid.link/20260219080625.183283814%40infradead.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions