summaryrefslogtreecommitdiffstats
path: root/scripts/lib/scriptutils.py
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2023-08-08 16:50:54 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-08-11 17:00:40 +0100
commit653ff4d85cbaf53627f7978b06c1f025ac4694e2 (patch)
tree73796c477441fd0a2fc416d8026c4b40639407f3 /scripts/lib/scriptutils.py
parentac5512b0acf3457a4c459d4d1711649053f4e618 (diff)
downloadpoky-653ff4d85cbaf53627f7978b06c1f025ac4694e2.tar.gz
bitbake: runqueue.py: fix PSI check logic
The current calculation is not correct because if tdiff is less than 1.0, it's not taken into consideration when calculating the current pressure. Also, make it clear that the 1.0s is the psi accumulation cycle, which might be changed in the future. We have this cycle because it could largely avoid the 0 result issue, that is, if the interval between checks are too small, the result might be 0. With this accumulation logic, which has been there but let's make it clear, this 0 result problem could be mitigated. (Bitbake rev: 95fa8fb5fb4d5a72e79b11d69792613bfd494e72) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions