summaryrefslogtreecommitdiffstats
path: root/bitbake/COPYING
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-07 08:26:48 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-09 12:33:26 +0100
commit77e56194dc8a81509b1977e1f329f91ce128a9c0 (patch)
treec38550c7106a48ff73c3df6c45422a657492d5d3 /bitbake/COPYING
parent146eb22b0e7b77bf3b3dcd750b4124b6cb27f090 (diff)
downloadpoky-77e56194dc8a81509b1977e1f329f91ce128a9c0.tar.gz
bitbake: runqueue: Optimise task id string manipulations
Some task id manipulations were suboptimal: * taskfn_fromtid and fn_from_tid were effectively the same function * many calls to split_tid(), then taskfn_fromtid() * taskfn_fromtid() called split_tid() internally This patch adds split_tid_mcfn() to replace split_tid() and returns the "taskfn" variant being used in many places. We update all core calls to the new function and ignore the return values we don't need since the function call overhead of the split_tid wrapper is higher than ignoring a return value. The one remaining standalone use of taskfn_fromtid is replaced with fn_from_tid. I couldn't see any external usage so it was dropped. There is external usage of split_tid so a wrapper remains for it. Combined together these changes should improve some of the runqueue task manipulation performance. (Bitbake rev: 1bf2ef874fbe47f1320007efa0bdeef8d630b8a1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/COPYING')
0 files changed, 0 insertions, 0 deletions