On Tue, 2021-02-16 at 11:43 -0800, [email protected] wrote: > "time bitbake recipe" is perfect for manual things. But I wanted to > also measure the recipe times when building the entire image. I > ended up creating a bbappend with new pre/post tasks for the main > tasks (fetch, unpack, configure, compile, install, package). The > pre task drops a timestamp file and the post task reads the file, > calculates the elapsed time and logs it to a file. It's a bit clunky > but it gives the information I want. Thanks for the help.
As others have said, please look at the buildstats class and the data it saves into TMPDIR/buildstats. It should do what you want and we have tools like pybootchart which can show it visually. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52363): https://lists.yoctoproject.org/g/yocto/message/52363 Mute This Topic: https://lists.yoctoproject.org/mt/80662724/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
